diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 8382683..8f9d058 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,7 +12,10 @@ jobs: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 - uses: actions/setup-node@v4 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' - run: bun install - run: npm publish --provenance --access public - env: + env:f NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}