-
-
Notifications
You must be signed in to change notification settings - Fork 180
32 lines (29 loc) · 636 Bytes
/
ci.yml
File metadata and controls
32 lines (29 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: ci
on:
- pull_request
- push
permissions:
contents: read
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node-version:
- "18"
- "20"
- "22"
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v4
with:
name: Node.js ${{ matrix.node-version }}
token: ${{ secrets.CODECOV_TOKEN }}