diff --git a/.github/workflows/npm-test-publish.yml b/.github/workflows/npm-test-publish.yml index a9173cd..a36ceb1 100644 --- a/.github/workflows/npm-test-publish.yml +++ b/.github/workflows/npm-test-publish.yml @@ -15,8 +15,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - - run: npm ci - - run: npm test + - run: pnpm ci + - run: pnpm test publish-npm: needs: build @@ -27,7 +27,7 @@ jobs: with: node-version: 18 registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm publish --access=public + - run: pnpm ci + - run: pnpm publish --access=public env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}