Skip to content

Commit

Permalink
ci: add '--if-present'
Browse files Browse the repository at this point in the history
  • Loading branch information
sakkke committed Apr 9, 2024
1 parent 8ec4813 commit 0485966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run build
- run: bun run --if-present build
- run: bun ./dist/index.js
- run: |
echo '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}' >>~/.npmrc
Expand Down

0 comments on commit 0485966

Please sign in to comment.