diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b91c99b..7d704ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ concurrency: permissions: contents: write + id-token: write jobs: release: @@ -20,8 +21,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: "20" - registry-url: "https://registry.npmjs.org" + node-version: "24" - uses: oven-sh/setup-bun@v2 with: @@ -66,9 +66,7 @@ jobs: - name: Publish @pickforge/picklab if: startsWith(github.ref, 'refs/tags/v') working-directory: packages/cli - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish --access public --provenance - name: Create GitHub release if: startsWith(github.ref, 'refs/tags/v')