From 76d737340e293375055b6a4f70b9dd2495e9fcbb Mon Sep 17 00:00:00 2001 From: Atul R Date: Sat, 10 Jul 2021 12:18:24 +0200 Subject: [PATCH] Adds npm token --- .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 510caf253..fcc6c4563 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ jobs: - name: Install ubuntu deps run: sudo apt install mesa-common-dev libglu1-mesa-dev - run: npm install + - run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc - run: npm publish --access=public env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}