From 9cdf0728803c440429c875be8ba96fa458a6e8d0 Mon Sep 17 00:00:00 2001 From: Dennis Kigen Date: Mon, 2 Oct 2023 13:33:25 +0300 Subject: [PATCH] (chore) Revert changes to how the NPM auth token gets set --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 38c13167..6e0564f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,6 @@ jobs: TURBO_API: 'http://127.0.0.1:9080' TURBO_TOKEN: ${{ secrets.TURBO_SERVER_TOKEN }} TURBO_TEAM: ${{ github.repository_owner }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} steps: - uses: actions/checkout@v3 @@ -85,6 +84,8 @@ jobs: - name: Publish pre-release run: yarn config set npmAlwaysAuth true && yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && npm publish --access public --tag next + env: + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - name: Upload Artifacts uses: actions/upload-artifact@v2 @@ -121,3 +122,5 @@ jobs: - name: Publish release run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish --access public --tag latest + env: + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}