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