diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index fb57d24..9aa618a 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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