Skip to content

Commit f78efb7

Browse files
committed
chore: support Node.js 14+
1 parent e8dcf6d commit f78efb7

7 files changed

Lines changed: 13 additions & 16303 deletions

File tree

.github/workflows/continuous-deployment.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ jobs:
1414
uses: actions/setup-node@v3
1515
with:
1616
node-version-file: .nvmrc
17-
cache: npm
1817

1918
- name: Install packages
20-
run: npm ci
19+
run: npm install
2120

2221
- name: Lint
2322
run: npm run lint

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@ jobs:
66
build:
77
name: Build app
88
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
node-version: [14, 16, 18]
912
steps:
1013
- name: Checkout code
1114
uses: actions/checkout@v3
1215

1316
- name: Setup Node.js
1417
uses: actions/setup-node@v3
1518
with:
16-
node-version-file: .nvmrc
17-
cache: npm
19+
node-version: ${{ matrix.node-version }}
1820

1921
- name: Install packages
20-
run: npm ci
22+
run: npm install
2123

2224
- name: Lint
2325
run: npm run lint

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.12.0
1+
14

0 commit comments

Comments
 (0)