From e05d52c104afd122244f15361065e2829ad67c65 Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Thu, 23 Dec 2021 00:15:56 +0700 Subject: [PATCH] ci: set NPM token to `setup-node` action --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4cabbc8a92a..37ac640f391 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: '16' + token: ${{ secrets.NPM_TOKEN }} - name: Enable corepack run: corepack enable @@ -54,7 +55,7 @@ jobs: return (tag.includes('dev') ? `${major}.${minor}-dev` : 'latest'); - name: Configure NPM auth token - run: yarn config set npmAuthToken "${{ secrets.NPM_TOKEN }}" + run: yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }} - name: Publish NPM packages run: yarn workspaces foreach --all --no-private --parallel npm publish --access public --tag ${{ steps.tag.outputs.result }}