Skip to content

Commit 24b9dc6

Browse files
committed
breaking(node):drop 12, add 18
1 parent d8b3d53 commit 24b9dc6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/tests.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,26 @@ on:
66
branches:
77
- main
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
test:
1115
runs-on: ${{ matrix.os }}
1216

1317
strategy:
1418
matrix:
1519
os: [ubuntu-latest]
16-
node: [12, 14, 16]
20+
node: [14, 16, 18]
1721

1822
steps:
1923
- uses: actions/checkout@v3
2024
- name: Use Node.js ${{ matrix.node }}
2125
uses: actions/setup-node@v3
2226
with:
2327
node-version: ${{ matrix.node }}
24-
- run: npm i
28+
cache-dependency-path: "**/package-lock.json"
29+
cache: 'npm'
30+
- run: npm ci
2531
- run: npm test

0 commit comments

Comments
 (0)