From da79d06d2dde62270bc411d0ba5d563133ba5a51 Mon Sep 17 00:00:00 2001 From: Forbes Lindesay Date: Wed, 9 Mar 2022 10:11:37 +0000 Subject: [PATCH] fix: publish config I think you need to specify the registry-url in actions/setup-node to publish to npm from GitHub Actions. --- .github/workflows/publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2ebc3d74..0bc9c5c1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,8 +15,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: '14.x' - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + registry-url: 'https://registry.npmjs.org' - name: npm install, build, test, publish run: | node --version