From 3c8ce503563ea04ba1cc07c468ed064b1974c3ba Mon Sep 17 00:00:00 2001 From: Andrew Helwer <2n8rn1w1f@mozmail.com> Date: Fri, 12 Apr 2024 21:02:56 -0400 Subject: [PATCH] Fix NPM auth issue Signed-off-by: Andrew Helwer <2n8rn1w1f@mozmail.com> --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25fbd3e..e0478c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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