Skip to content

Commit

Permalink
(chore) Revert changes to how the NPM auth token gets set
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Oct 2, 2023
1 parent 7b7178c commit 9cdf072
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

0 comments on commit 9cdf072

Please sign in to comment.