We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fef50a commit 9edfe15Copy full SHA for 9edfe15
1 file changed
.github/workflows/ci_validation.yml
@@ -12,7 +12,7 @@ jobs:
12
13
strategy:
14
matrix:
15
- node-version: [12.x, 14.x, 16.x]
+ node-version: [16.x, 18.x, 20.x]
16
steps:
17
- uses: actions/checkout@v3
18
- name: Use Node.js ${{ matrix.node-version }}
@@ -22,19 +22,13 @@ jobs:
22
- name: Install dependencies
23
run: npm ci
24
25
- - name: Build for node 14 and 16
26
- if: matrix.node-version != '12.x'
27
- run: npm run build --if-present
28
-
29
- - name: Build for node 12
30
- if: matrix.node-version == '12.x'
31
- run: npm run build:cjs && npm run build:es
+ - name: Build for node 16, 18 & 20
+ run: npm run build
32
33
- name: Run unit tests
34
run: npm test
35
36
- name: Verify ESM compatibility
37
- if: matrix.node-version == '16.x'
38
working-directory: './test-esm'
39
run: |
40
npm ci
0 commit comments