From 63376d19cfdf2724d063317b32f0c4d265f4f8c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20St=C3=BCdle?= <17547231+joel-st@users.noreply.github.com> Date: Thu, 13 Mar 2025 10:37:41 +0000 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 18a35bf..740a95b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,7 +14,14 @@ jobs: - uses: oven-sh/setup-bun@v2 - run: bun install - run: bun run build + - name: Configure npm credentials + uses: actions/setup-node@v4 + with: + node-version: '22.14.0' + registry-url: 'https://registry.npmjs.org' + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish to NPM run: npm publish --provenance --access public env: - NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}