From a9455d922f5e5a72cc53948f13f5819950ad040e Mon Sep 17 00:00:00 2001 From: sakkke <84666033+sakkke@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:37:27 +0900 Subject: [PATCH] ci: merge steps --- .github/workflows/npm-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9aa618a..8c04d85 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -22,8 +22,9 @@ jobs: - uses: actions/checkout@v3 - uses: oven-sh/setup-bun@v1 - run: bun install - - run: bun run --if-present build - - run: bun ./dist/index.js + - run: | + bun run --if-present build + bun ./dist/index.js - run: | echo '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}' >>~/.npmrc bunx npm publish