From ec621a38748cdaaef276b1ac47b4db4c1da4eadd Mon Sep 17 00:00:00 2001 From: Pavel Murygin Date: Wed, 24 Aug 2022 18:29:09 +0300 Subject: [PATCH 1/2] Set registry url so that setup-node creates correct npmrc --- .github/workflows/release_packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_packages.yml b/.github/workflows/release_packages.yml index fd0b476d1..317f23cd9 100644 --- a/.github/workflows/release_packages.yml +++ b/.github/workflows/release_packages.yml @@ -18,6 +18,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: "16" + registry-url: 'https://registry.npmjs.org' - name: "Build packages" run: | @@ -34,7 +35,6 @@ jobs: fi env: CI: true - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: "Get the version of fluence-js package" id: package-version From 3969fdd04c04269aea4c0093c28c61fdab112153 Mon Sep 17 00:00:00 2001 From: Pavel Murygin Date: Wed, 24 Aug 2022 18:31:22 +0300 Subject: [PATCH 2/2] get token back to env --- .github/workflows/release_packages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release_packages.yml b/.github/workflows/release_packages.yml index 317f23cd9..66834e26d 100644 --- a/.github/workflows/release_packages.yml +++ b/.github/workflows/release_packages.yml @@ -35,6 +35,7 @@ jobs: fi env: CI: true + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: "Get the version of fluence-js package" id: package-version