Skip to content

Commit 71e18e1

Browse files
committed
Drop node 12 and 14, support node 18 and 20
1 parent 0d510aa commit 71e18e1

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node-version: ['12.x', '14.x', '16.x']
16+
node-version: ['16.x', '18.x', '20.x']
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v1
20+
uses: actions/checkout@v4
2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
25-
- name: Cache modules
26-
uses: actions/cache@v1
27-
with:
28-
path: ~/.npm
29-
key: ${{ runner.OS }}-node-${{ hashFiles('package-lock.json') }}
30-
restore-keys: |
31-
${{ runner.OS }}-node-
32-
${{ runner.OS }}-
25+
cache: 'npm'
3326
- name: Install
3427
run: npm ci
3528
- name: Lint

0 commit comments

Comments
 (0)