-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
46 lines (46 loc) · 987 Bytes
/
main.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: main
on:
- pull_request
- push
jobs:
small:
name: test / ${{matrix.os}} / ${{matrix.node}}
runs-on: ${{matrix.os}}
env:
PUPPETEER_SKIP_DOWNLOAD: 1
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}
cache: npm
- run: npm ci
- run: npm run test-api
strategy:
matrix:
os:
- macos-latest
- windows-latest
node:
- node
include:
- os: ubuntu-latest
node: lts/gallium
full:
name: full build
runs-on: ubuntu-latest
env:
PUPPETEER_SKIP_DOWNLOAD: 1
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: node
cache: npm
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v3