Skip to content

Commit 2511ef4

Browse files
author
Alain Picard
committed
update to node 24 and clear token
1 parent f8d4cf3 commit 2511ef4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ jobs:
1111
packages: write
1212
id-token: write
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
- uses: actions/checkout@v6
15+
- uses: actions/setup-node@v6
1616
with:
17-
node-version: "22.x"
17+
node-version: "24.x"
1818
registry-url: "https://registry.npmjs.org"
1919
scope: "@alpic80"
20-
- uses: pnpm/action-setup@v4
20+
- uses: pnpm/action-setup@v6
2121
- run: pnpm install --frozen-lockfile
2222
- run: pnpm typecheck
2323
- run: pnpm build
2424
- name: Publish to npm
2525
run: |
2626
if [ "${{ github.event.release.prerelease }}" = "true" ]; then
27-
pnpm publish --provenance --access public --no-git-checks --tag beta
27+
NODE_AUTH_TOKEN="" pnpm publish --provenance --access public --no-git-checks --tag beta
2828
else
29-
pnpm publish --provenance --access public --no-git-checks
29+
NODE_AUTH_TOKEN="" pnpm publish --provenance --access public --no-git-checks
3030
fi
3131
env:
3232
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)