Skip to content

Commit 7e3c72f

Browse files
authored
Merge branch 'main' into release/v4.0.0
2 parents 4e8e32f + 85f364c commit 7e3c72f

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
with:
3434
node-version: 22
3535
cache: 'pnpm'
36-
registry-url: 'https://registry.npmjs.org'
3736

3837
- name: Install Dependencies
3938
run: pnpm install
@@ -44,12 +43,9 @@ jobs:
4443
- name: Testing
4544
run: pnpm test
4645

47-
# Trusted publishing (OIDC) requires npm CLI >= 11.5.1, which is newer than
48-
# the version bundled with Node.js 22.
49-
- name: Update npm
50-
run: npm install -g npm@latest
51-
5246
- name: Publish
53-
# No NPM_TOKEN: authentication is handled via OIDC trusted publishing.
54-
# Provenance attestations are generated from the OIDC identity.
55-
run: npm publish --provenance --ignore-scripts
47+
# No NPM_TOKEN: pnpm authenticates via OIDC trusted publishing and
48+
# generates provenance attestations from the OIDC identity.
49+
# --no-git-checks is required because the release runs from a detached
50+
# tag checkout rather than a branch.
51+
run: pnpm publish --provenance --no-git-checks --ignore-scripts

0 commit comments

Comments
 (0)