Skip to content

Commit

Permalink
(chore) Attempt to fix access to token in pre-release script
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Oct 2, 2023
1 parent 1973730 commit 7b7178c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ 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 @@ -84,8 +85,6 @@ 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 @@ -122,5 +121,3 @@ 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 7b7178c

Please sign in to comment.