Skip to content

Commit

Permalink
ci: swap order of operations; pack/build, then test
Browse files Browse the repository at this point in the history
  • Loading branch information
BinToss committed Oct 18, 2023
1 parent f05bc38 commit ea7f3ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ jobs:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run pack
- run: npm test
- run: npx semantic-release
2 changes: 1 addition & 1 deletion .github/workflows/test-npm-ci-and-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run pack
- run: npm test
- run: npm pack --dry-run --pack-destination ./bin/ # file creation skipped by --dry-run

0 comments on commit ea7f3ae

Please sign in to comment.