Skip to content

Commit be0a7ba

Browse files
committed
fix(ci): upgrade Node to v20
1 parent 23a1521 commit be0a7ba

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/npm-publish.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- v*
77

88
permissions:
9-
id-token: write # Required for OIDC
9+
id-token: write
1010
contents: read
1111

1212
jobs:
@@ -15,17 +15,20 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

2020
- name: Setup Node.js
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@v6
2222
with:
23-
node-version: '18'
24-
registry-url: 'https://registry.npmjs.org'
23+
node-version: "20"
24+
registry-url: "https://registry.npmjs.org"
2525

26-
- name: Install and Build
26+
- name: Update npm
2727
run: |
2828
npm install -g npm@latest
29+
30+
- name: Install and build
31+
run: |
2932
npm ci
3033
npm run build
3134
@@ -36,5 +39,5 @@ jobs:
3639
GH_NAME: inveniobot
3740
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
3841

39-
- name: Publish on NPM
42+
- name: Publish on npmjs
4043
run: npm publish

0 commit comments

Comments
 (0)