Skip to content

Commit

Permalink
Fix NPM auth issue
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Helwer <2n8rn1w1f@mozmail.com>
  • Loading branch information
ahelwer committed Apr 13, 2024
1 parent bef1f6f commit 3c8ce50
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- name: Setup python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -130,10 +132,10 @@ jobs:
asset_path: tree-sitter-tlaplus.wasm
asset_name: tree-sitter-tlaplus.wasm
asset_content_type: application/octet-stream
#- name: Publish global package to NPM
#run: npm publish --access=public
#env:
#NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
- name: Publish global package to NPM
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
- name: Change back node package name
run: git checkout package.json
- name: Publish scoped package to NPM
Expand Down

0 comments on commit 3c8ce50

Please sign in to comment.