Skip to content

Commit

Permalink
ci: commitlint and build in Test and Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ginsburg committed Mar 30, 2022
1 parent 4dacc5d commit ca8c3ff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ jobs:
node-version: 12
cache: npm
- run: npm ci
- run: |
npm run commitlint -- \
--verbose \
--from `git merge-base origin/master $GITHUB_SHA`
- run: npm run build
- run: npm run test
- run: npm run release
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: |
npm run commitlint -- \
--verbose \
--from `git merge-base origin/master $GITHUB_SHA`
- run: npm run build
- run: npm run test
windows:
name: "Node ${{ matrix.node }} on Windows: Test and Lint"
Expand All @@ -47,4 +52,5 @@ jobs:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm run build
- run: npm run test

0 comments on commit ca8c3ff

Please sign in to comment.