File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - ' v*'
8+ pull_request : {}
9+ schedule :
10+ - cron : ' 0 3 * * *' # daily, at 3am
11+
12+ jobs :
13+ test :
14+ name : Node 12.x - ubuntu
15+ runs-on : ubuntu-latest
16+ timeout-minutes : 10
17+
18+ steps :
19+ - uses : actions/checkout@v2
20+ - uses : volta-cli/action@v1
21+
22+ - name : install dependencies
23+ run : yarn install --frozen-lockfile
24+
25+ - run : yarn lint
26+ - run : yarn test
27+
28+ nodeX :
29+ name : Node ${{ matrix.node-version }} - ${{ matrix.os }}
30+ runs-on : ${{ matrix.os }}-latest
31+ timeout-minutes : 10
32+
33+ needs : [test]
34+
35+ strategy :
36+ matrix :
37+ os : [ubuntu, windows]
38+ node-version : [10.x, 12.x, 13.x, 14.x]
39+
40+ # excluded because it is the `test` job above
41+ exclude :
42+ - os : ubuntu
43+ node-version : 12.x
44+
45+ steps :
46+ - uses : actions/checkout@v2
47+ - uses : volta-cli/action@v1
48+ with :
49+ node-version : ${{ matrix.node-version }}
50+
51+ - name : install dependencies
52+ run : yarn install --frozen-lockfile --ignore-engines
53+
54+ - run : yarn test
55+
56+ floating-dependencies :
57+ name : Floating Dependencies
58+ runs-on : ubuntu-latest
59+ timeout-minutes : 10
60+
61+ needs : [test]
62+
63+ steps :
64+ - uses : actions/checkout@v2
65+ - uses : volta-cli/action@v1
66+ with :
67+ node-version : 12.x
68+
69+ - name : install dependencies
70+ run : yarn install --no-lockfile
71+
72+ - run : yarn test
You can’t perform that action at this time.
0 commit comments