From 00568bea56112a2b29f6d3c3984527305ad68eca Mon Sep 17 00:00:00 2001 From: Glowstudent <55334764+Glowstudent777@users.noreply.github.com> Date: Thu, 12 Sep 2024 22:12:21 -0500 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index fa5bf05..64ecef6 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -23,11 +23,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v4 + with: + version: 9 + run_install: false - uses: actions/setup-node@v3 with: node-version: 16 + cache: 'pnpm' registry-url: https://registry.npmjs.org - - run: npm ci && npm run build + - run: pnpm ci && pnpm run build - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}