Skip to content

Commit b57e8a0

Browse files
committed
chore: npm trusted publisher
1 parent 8a1ed6d commit b57e8a0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
File renamed without changes.

.github/workflows/publish.yml renamed to .github/workflows/publish.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,17 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
permissions:
12-
id-token: write # Required for provenance
12+
id-token: write # Required for provenance and Trusted Publishing
13+
contents: read
1314
steps:
1415
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1516
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
1617
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1718
with:
1819
registry-url: 'https://registry.npmjs.org'
19-
node-version: 22
20+
node-version: 24
2021
cache: pnpm
2122

2223
- run: pnpm install
2324
- run: pnpm build
2425
- run: pnpm publish --provenance --access public --no-git-checks
25-
env:
26-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)