From c8fd2d1c02d3dae52889f8930030cb3d3e7004c2 Mon Sep 17 00:00:00 2001 From: Ryan Martin Date: Wed, 15 Nov 2023 08:31:43 +0800 Subject: [PATCH] upload --- .github/workflows/npm-test-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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}}