diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 1b07e37..d7606b1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,11 +12,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 - uses: actions/setup-node@v4 with: node-version: 18 + cache: 'pnpm' registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm publish + - run: pnpm install + - run: pnpm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}