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}}