Skip to content

Commit aaf49c3

Browse files
committed
chore: change publish
1 parent e58fe1f commit aaf49c3

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ on:
66
increment:
77
description: 'Increment "major", "minor", "patch", or "pre*" version; or specify version [default: "patch"]'
88
required: true
9-
default: 'patch'
9+
default: "patch"
1010
type: string
1111
dry-run:
12-
description: 'Do not touch or write anything, but show the commands'
12+
description: "Do not touch or write anything, but show the commands"
1313
default: true
1414
type: boolean
1515

16+
permissions:
17+
id-token: write # Required for OIDC
18+
contents: read
19+
1620
jobs:
1721
release-it:
1822
runs-on: ubuntu-latest
@@ -27,9 +31,14 @@ jobs:
2731
- name: Setup
2832
uses: ./.github/actions/setup
2933

30-
- name: Setup NPM auth token
34+
- name: Update Node.js
35+
uses: actions/setup-node@v3
36+
with:
37+
node-version: 23.7.0
38+
39+
- name: Update NPM
3140
run: |
32-
npm set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }}
41+
npm install -g npm@11.5.1
3342
3443
- name: Dry Run Release
3544
if: ${{ inputs.dry-run }}

0 commit comments

Comments
 (0)