From fac02f3de9e57c79ed05229fecbfa465dbb0503c Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Tue, 7 Sep 2021 15:52:17 +0200 Subject: [PATCH] use the correct token name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I used `NODE_AUTH_TOKEN` in other projects but that doesn't seem to work anymore for some reason 🤔 Found this resource that talks about `NPM_TOKEN`: https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow --- .github/workflows/release-insiders.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index 1c5470b31..e10801a64 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -54,4 +54,4 @@ jobs: run: npm publish --tag insiders env: CI: true - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4d0b11cb..e709eb19b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,4 +47,4 @@ jobs: run: npm publish env: CI: true - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}