From 048596628b98fe2c208e4714500b57dcd5113293 Mon Sep 17 00:00:00 2001 From: sakkke <84666033+sakkke@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:35:42 +0900 Subject: [PATCH] ci: add '--if-present' --- .github/workflows/npm-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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