From 8eee9d6dd2f7643693c3ab5f6099bc6fd298f506 Mon Sep 17 00:00:00 2001 From: Ayase Minori Date: Tue, 27 Aug 2024 02:33:14 +0800 Subject: [PATCH] Fix pnpm missing Signed-off-by: Ayase Minori --- .github/workflows/release.node.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.node.js.yml b/.github/workflows/release.node.js.yml index c4dfb569..1d14a38c 100644 --- a/.github/workflows/release.node.js.yml +++ b/.github/workflows/release.node.js.yml @@ -19,11 +19,11 @@ jobs: with: node-version: "20.x" registry-url: "https://registry.npmjs.org" - - run: pnpm install --frozen-lockfile + - run: npm i -g pnpm && pnpm install - run: npm publish --access public - - run: npx jsr publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + - run: npx jsr publish - uses: actions/setup-node@v4 with: registry-url: "https://npm.pkg.github.com"