9
9
steps :
10
10
- name : Checkout the repository
11
11
uses : actions/checkout@v2
12
+ - name : Install pnpm
13
+ uses : pnpm/action-setup@v2
14
+ with :
15
+ version : 6.23.6
12
16
- name : Install Node.js
13
17
uses : actions/setup-node@v2
14
18
with :
15
19
node-version : 17
16
- cache : yarn
20
+ cache : pnpm
17
21
- name : Install dependencies
18
- run : yarn --frozen-lockfile
22
+ run : pnpm install --frozen-lockfile
19
23
- name : Run tests
20
- run : yarn test
24
+ run : pnpm test
21
25
env :
22
26
FORCE_COLOR : 2
23
27
short :
@@ -28,38 +32,69 @@ jobs:
28
32
- 16
29
33
- 14
30
34
- 12
35
+ name : Node.js ${{ matrix.node-version }} Quick
36
+ steps :
37
+ - name : Checkout the repository
38
+ uses : actions/checkout@v2
39
+ - name : Install pnpm
40
+ uses : pnpm/action-setup@v2
41
+ with :
42
+ version : 6.23.6
43
+ - name : Install Node.js ${{ matrix.node-version }}
44
+ uses : actions/setup-node@v2
45
+ with :
46
+ node-version : ${{ matrix.node-version }}
47
+ cache : pnpm
48
+ - name : Install dependencies
49
+ run : pnpm install --frozen-lockfile --ignore-scripts
50
+ - name : Run unit tests
51
+ run : pnpm unit
52
+ env :
53
+ FORCE_COLOR : 2
54
+ old :
55
+ runs-on : ubuntu-latest
56
+ strategy :
57
+ matrix :
58
+ node-version :
31
59
- 10
32
60
name : Node.js ${{ matrix.node-version }} Quick
33
61
steps :
34
62
- name : Checkout the repository
35
63
uses : actions/checkout@v2
64
+ - name : Install pnpm
65
+ uses : pnpm/action-setup@v1
66
+ with :
67
+ version : 3.8.1
68
+ env :
69
+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
36
70
- name : Install Node.js ${{ matrix.node-version }}
37
71
uses : actions/setup-node@v2
38
72
with :
39
73
node-version : ${{ matrix.node-version }}
40
- cache : yarn
41
74
- name : Install dependencies
42
- run : yarn --frozen-lockfile --ignore-engines
75
+ run : pnpm install --frozen-lockfile --ignore-scripts
43
76
- name : Run unit tests
44
- run : yarn unit
77
+ run : pnpm unit
45
78
env :
46
79
FORCE_COLOR : 2
47
80
windows :
48
81
runs-on : windows-latest
49
82
name : Windows Quick
50
- env :
51
- YARN_GPG : ' no'
52
83
steps :
53
84
- name : Checkout the repository
54
85
uses : actions/checkout@v2
86
+ - name : Install pnpm
87
+ uses : pnpm/action-setup@v2
88
+ with :
89
+ version : 6.23.6
55
90
- name : Install Node.js LTS
56
91
uses : actions/setup-node@v2
57
92
with :
58
93
node-version : 16
59
- cache : yarn
94
+ cache : pnpm
60
95
- name : Install dependencies
61
- run : yarn install --frozen-lockfile
96
+ run : pnpm install --frozen-lockfile --ignore-scripts
62
97
- name : Run unit tests
63
- run : yarn unit
98
+ run : pnpm unit
64
99
env :
65
100
FORCE_COLOR : 2
0 commit comments