Skip to content

Commit 24bee2c

Browse files
arthurkehrwaldfreezy
authored andcommitted
Try fix publish
1 parent 4400dca commit 24bee2c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ jobs:
1313
merge-multiple: true
1414
github-token: ${{ secrets.GITHUB_TOKEN }}
1515
run-id: ${{ github.event.client_payload.artifacts_run_id }}
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: '20.x'
19+
registry-url: 'https://registry.visualpinball.org'
1620
- name: Publish
17-
run: |
18-
echo "//registry.visualpinball.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
19-
npm publish
21+
run: npm publish
2022
env:
21-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)