Skip to content

Commit bfb63d4

Browse files
Upgraded Node.js to 20.x in both publish jobs
1 parent 7069c40 commit bfb63d4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
name: build
4949
- uses: actions/setup-node@v4
5050
with:
51-
node-version: 14.x
51+
node-version: 20.x
5252
registry-url: 'https://registry.npmjs.org'
53-
- name: Update npm to compatible version (required for OIDC)
54-
run: npm install -g npm@8
53+
- name: Update npm to latest (required for OIDC)
54+
run: npm install -g npm@latest
5555
- uses: rlespinasse/github-slug-action@v3.x
5656
- name: Append commit hash to package version
5757
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -73,10 +73,10 @@ jobs:
7373
name: build
7474
- uses: actions/setup-node@v4
7575
with:
76-
node-version: 14.x
76+
node-version: 20.x
7777
registry-url: 'https://registry.npmjs.org'
78-
- name: Update npm to compatible version (required for OIDC)
79-
run: npm install -g npm@8
78+
- name: Update npm to latest (required for OIDC)
79+
run: npm install -g npm@latest
8080
- name: Disable pre- and post-publish actions
8181
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8282
- name: Publish to npm

0 commit comments

Comments
 (0)