Skip to content

Commit e33b02d

Browse files
authored
[ci] Update to Node18 (#803)
1 parent 421e9a6 commit e33b02d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
path: |
2727
~/.npm
2828
node_modules
29-
key: npm-v14-${{ runner.os }}-refs/heads/master-${{ hashFiles('package.json') }}
29+
key: npm-v18-${{ runner.os }}-refs/heads/master-${{ hashFiles('package.json') }}
3030

3131
- name: Install Node.js and npm
3232
uses: actions/setup-node@v1
3333
with:
34-
node-version: 14.x
34+
node-version: 18.x
3535
registry-url: https://registry.npmjs.org
3636

3737
- name: Publish new version

.github/workflows/validate.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ env:
1010
FORCE_COLOR: 1
1111

1212
jobs:
13-
linuxNode14:
14-
name: '[Linux] Node.js v14: Lint, Eventual Commitlint, Eventual Changelog, Formatting & Unit tests'
13+
linuxNode18:
14+
name: '[Linux] Node.js v18: Lint, Eventual Commitlint, Eventual Changelog, Formatting & Unit tests'
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
@@ -38,10 +38,10 @@ jobs:
3838
path: |
3939
~/.npm
4040
node_modules
41-
key: npm-v14-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
41+
key: npm-v18-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('package.json') }}
4242
restore-keys: |
43-
npm-v14-${{ runner.os }}-${{ github.ref }}-
44-
npm-v14-${{ runner.os }}-refs/heads/master-
43+
npm-v18-${{ runner.os }}-${{ github.ref }}-
44+
npm-v18-${{ runner.os }}-refs/heads/master-
4545
4646
- name: Set up Python 3.7
4747
uses: actions/setup-python@v2
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install Node.js and npm
5252
uses: actions/setup-node@v1
5353
with:
54-
node-version: 14.x
54+
node-version: 18.x
5555

5656
- name: Check python version
5757
run: |

0 commit comments

Comments
 (0)