Skip to content

Commit 1549d57

Browse files
committed
upgrade node to latest lts
1 parent 22141cd commit 1549d57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Use Node.js
1515
uses: actions/setup-node@v1
1616
with:
17-
node-version: '14.x'
17+
node-version: '20.x'
1818
- run: npm install
1919
- run: npm run build --if-present
2020
- run: npm test

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 14
15+
node-version: 20
1616
registry-url: https://registry.npmjs.org/
1717
cache: npm
1818
- run: npm ci
@@ -29,15 +29,15 @@ jobs:
2929
- uses: actions/checkout@v3
3030
- uses: actions/setup-node@v3
3131
with:
32-
node-version: 14
32+
node-version: 20
3333
registry-url: https://registry.npmjs.org/
3434
cache: npm
3535
- run: npm ci
3636
- run: npm test
3737
- name: Setup GHPR
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: 14
40+
node-version: 20
4141
registry-url: 'https://npm.pkg.github.com'
4242
- run: npm version ${TAG_NAME} --git-tag-version=false
4343
env:

0 commit comments

Comments
 (0)