Skip to content

Commit

Permalink
chore: remove commit lint messages check (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSun90 committed Jul 15, 2023
1 parent a093a25 commit ae51c05
Show file tree
Hide file tree
Showing 3 changed files with 5,191 additions and 6,740 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,6 @@ jobs:
- run: npm ci
- run: npm run lint

- name: Prepare Commitlint (pull_request)
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "TRAVIS_PULL_REQUEST_SLUG=${{ github.event.pull_request.head.repo.full_name }}" >> $GITHUB_ENV
echo "TRAVIS_COMMIT_RANGE=HEAD~..HEAD" >> $GITHUB_ENV
- name: Prepare Commitlint (push)
if: ${{ github.event_name == 'push' }}
run: |
echo "TRAVIS_PULL_REQUEST_SLUG=" >> $GITHUB_ENV
echo "TRAVIS_COMMIT_RANGE=${{ github.event.before }}..${{ github.event.after }}" >> $GITHUB_ENV
- run: npx commitlint-travis
env:
TRAVIS: "true"
CI: "true"
TRAVIS_EVENT_TYPE: "${{ github.event_name }}"
TRAVIS_REPO_SLUG: "${{ github.repository }}"
TRAVIS_COMMIT: "${{ github.sha }}"

test:
name: SQL Server Linux / Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit ae51c05

Please sign in to comment.