From 94f74181610f3a24088347e31d798107aec4fbca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Gianella?= <122352170+TGianella@users.noreply.github.com> Date: Sun, 25 Jun 2023 16:50:40 +0200 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 3d33bbd..248ab34 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,8 +15,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 19 - - run: pnpm ci - - run: pnpm test + - run: npm test publish-npm: needs: build @@ -27,7 +26,7 @@ jobs: with: node-version: 19 registry-url: https://registry.npmjs.org/ - - run: pnpm ci - - run: pnpm publish + - run: npm ci + - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}