From 506655224071d4aba80b0886873fe253a1432840 Mon Sep 17 00:00:00 2001 From: Oliver Wipfli Date: Sat, 31 Jul 2021 09:14:17 +0200 Subject: [PATCH] Use organization secret NPM_ORG_TOKEN --- .github/workflows/publish-style-spec.yml | 2 +- .github/workflows/release.yml | 2 +- RELEASE-PROCESS.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-style-spec.yml b/.github/workflows/publish-style-spec.yml index 34dbf7d0eb..f9c573d84d 100644 --- a/.github/workflows/publish-style-spec.yml +++ b/.github/workflows/publish-style-spec.yml @@ -39,4 +39,4 @@ jobs: node -e "if(require('./package').version.includes('dev')) { process.exit(1) }" npm publish --access=public env: - NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2b9f83fd2..c5540c96dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -172,4 +172,4 @@ jobs: run: | yarn publish --non-interactive env: - NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }} diff --git a/RELEASE-PROCESS.md b/RELEASE-PROCESS.md index 194e1c587c..8a15da9d55 100644 --- a/RELEASE-PROCESS.md +++ b/RELEASE-PROCESS.md @@ -28,4 +28,4 @@ Release candidate versions do not generate release notes. The changelog should be updated on every PR - there is a placeholder at the top of the document - and heading should be renamed to the same version which is going to be set in the version tag during release. -The workflow expects `NODE_AUTH_TOKEN` repo secret in order to push to NPM registry. +The workflow expects `${{ secrets.NPM_ORG_TOKEN }}` organization secret in order to push to NPM registry.