From b1eb418125050f16aba8520b6ba89806ea13f1df Mon Sep 17 00:00:00 2001 From: arthurkehrwald <50906979+arthurkehrwald@users.noreply.github.com> Date: Tue, 4 Feb 2025 23:24:11 +0100 Subject: [PATCH] Try fix publish --- .github/workflows/publish.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a08b3ee5..b67952ba 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,9 +13,11 @@ jobs: merge-multiple: true github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ github.event.client_payload.artifacts_run_id }} + - uses: actions/setup-node@v4 + with: + node-version: '20.x' + registry-url: 'https://registry.visualpinball.org' - name: Publish - run: | - echo "//registry.visualpinball.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc - npm publish + run: npm publish env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}