File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Test
2
2
on :
3
3
push :
4
4
pull_request :
5
- env :
6
- FORCE_COLOR : 2
7
5
jobs :
8
6
full :
9
7
name : Node.js 16 Full
@@ -14,16 +12,20 @@ jobs:
14
12
- name : Install Node.js
15
13
uses : actions/setup-node@v2
16
14
with :
17
- node-version : 16
15
+ node-version : 17
16
+ cache : yarn
18
17
- name : Install dependencies
19
- uses : bahmutov/npm-install@v1
18
+ run : yarn --frozen-lockfile
20
19
- name : Run tests
21
20
run : yarn test
21
+ env :
22
+ FORCE_COLOR : 2
22
23
short :
23
24
runs-on : ubuntu-latest
24
25
strategy :
25
26
matrix :
26
27
node-version :
28
+ - 16
27
29
- 14
28
30
- 12
29
31
- 10
@@ -35,12 +37,13 @@ jobs:
35
37
uses : actions/setup-node@v2
36
38
with :
37
39
node-version : ${{ matrix.node-version }}
40
+ cache : yarn
38
41
- name : Install dependencies
39
- uses : bahmutov/npm-install@v1
40
- with :
41
- install-command : yarn --frozen-lockfile --ignore-engines
42
+ run : yarn --frozen-lockfile --ignore-engines
42
43
- name : Run unit tests
43
44
run : npx jest
45
+ env :
46
+ FORCE_COLOR : 2
44
47
windows :
45
48
runs-on : windows-latest
46
49
name : Windows Quick
52
55
- name : Install Node.js LTS
53
56
uses : actions/setup-node@v2
54
57
with :
55
- node-version : 14
58
+ node-version : 16
59
+ cache : yarn
56
60
- name : Install dependencies
57
61
run : yarn install --frozen-lockfile
58
62
- name : Run unit tests
59
63
run : npx jest
64
+ env :
65
+ FORCE_COLOR : 2
You can’t perform that action at this time.
0 commit comments