We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 876b60a commit 79c6d50Copy full SHA for 79c6d50
.github/workflows/ci.yml
@@ -8,8 +8,9 @@ on:
8
types: [published] # Trigger publish job when a GitHub release is published
9
10
permissions:
11
- id-token: write # required for OICD see npm Trusted publishing
12
contents: read
+ # Required for npm OICD (https://docs.npmjs.com/trusted-publishers)
13
+ id-token: write
14
15
jobs:
16
build-and-test:
@@ -37,6 +38,10 @@ jobs:
37
38
node-version: 22
39
registry-url: "https://registry.npmjs.org/"
40
- uses: pnpm/action-setup@v4
41
+ - name: Re-install npm
42
+ # TODO: OIDC requires npm >=11.5.1.
43
+ # Until Node.js v24 is LTS (with npm 11 as the default), we need to bump.
44
+ run: npm install -g npm@11
45
- run: pnpm install
46
- run: pnpm build
47
- name: Publish to npm
0 commit comments