From 5c6d3c9720439150742c8313d4b29e47592702f7 Mon Sep 17 00:00:00 2001 From: Mohammed Keyvanzadeh Date: Fri, 8 Sep 2023 18:59:43 +0330 Subject: [PATCH] meta: fix publish workflow - Use arguments recommended by npm when publishing scoped public packages. - Use the correct secret for the npm token. --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3a87857..2d6d3e7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,6 +14,6 @@ jobs: node-version: 18 check-latest: true registry-url: https://registry.npmjs.org/ - - run: npm publish + - run: npm publish --access public env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_SECRET }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}