From 4e10e6c86191496c010f9f6db15c860efa6cb897 Mon Sep 17 00:00:00 2001 From: zoreet Date: Wed, 20 Dec 2023 23:27:46 +0100 Subject: [PATCH] trying to get github releases to not throw a 401 --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d26d382..86da6f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,11 @@ jobs: uses: actions/setup-node@v3 with: node-version: "18.x" + registry-url: 'https://registry.npmjs.org' - name: Build plugin + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} # Add this line run: | npm install npm run build