Skip to content

Commit 21de6f7

Browse files
committed
build: Use node v18
1 parent 9b81f5b commit 21de6f7

3 files changed

Lines changed: 7 additions & 9719 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,16 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
13-
strategy:
14-
matrix:
15-
node-version: [14.x]
16-
1712
steps:
1813
- uses: actions/checkout@v4
1914

2015
- uses: hmarr/debug-action@v3
2116

22-
- name: Cache node modules
23-
uses: actions/cache@v4
24-
env:
25-
cache-name: cache-node-modules
26-
with:
27-
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
28-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
29-
restore-keys: |
30-
${{ runner.os }}-build-${{ env.cache-name }}-
31-
${{ runner.os }}-build-
32-
${{ runner.os }}-
33-
3417
- name: Use Node.js ${{ matrix.node-version }}
3518
uses: actions/setup-node@v4
3619
with:
37-
node-version: ${{ matrix.node-version }}
20+
node-version-file: ".nvmrc"
21+
cache: "npm"
3822

3923
- run: npm ci
4024

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18

0 commit comments

Comments
 (0)