From 69cb62172cd76e1a013272d189f577aed6c710c6 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Sun, 4 Sep 2022 23:48:12 +0200 Subject: [PATCH] set registry to npm and use NODE_AUTH_TOKEN --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 66fe938..fcf40fa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,11 +17,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 + registry-url: "https://registry.npmjs.org" - name: Install dependencies run: npm ci - name: Release env: - NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} run: npm run release