Skip to content

Commit 105dec7

Browse files
committed
npm audit fix + update CI
1 parent 053e949 commit 105dec7

2 files changed

Lines changed: 4621 additions & 2350 deletions

File tree

.github/workflows/test.yml

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,20 @@
1-
name: test
2-
on:
3-
push:
4-
branches:
5-
- 'main'
6-
- 'master'
7-
pull_request:
1+
name: Test
82

9-
defaults:
10-
run:
11-
shell: bash
3+
on: [push, pull_request]
124

135
jobs:
146
test:
15-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
168
strategy:
17-
fail-fast: false
9+
fail-fast: true
1810
matrix:
19-
os: [ubuntu-latest]
20-
node: [14, 16, 18, 20]
11+
os: [ubuntu-latest, windows-latest]
12+
node-version: [lts/*, latest]
2113
steps:
2214
- uses: actions/checkout@v4
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v4
2317
with:
24-
fetch-depth: 1
25-
- uses: actions/setup-node@v4
26-
with:
27-
node-version: ${{ matrix.node }}
28-
29-
- name: npm ci
30-
run: npm ci --ignore-scripts
31-
32-
- name: test
33-
run: npm test
18+
node-version: ${{ matrix.node-version }}
19+
- run: npm ci
20+
- run: npm test

0 commit comments

Comments
 (0)