From f0193eba21bb32ea1124c643d97eab8e39f7058f Mon Sep 17 00:00:00 2001 From: Eitan Miller Date: Thu, 7 Dec 2023 18:49:09 -0500 Subject: [PATCH] ci: fix auto publish --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a988090..d22412f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,8 +13,8 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm publish + - run: pnpm i --frozen-lockfile + - run: pnpm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} github: @@ -29,7 +29,7 @@ jobs: with: node-version: '20.x' registry-url: 'https://npm.pkg.github.com' - - run: npm ci - - run: npm publish + - run: pnpm i --frozen-lockfile + - run: pnpm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file