File tree 2 files changed +525
-493
lines changed
2 files changed +525
-493
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- main
6
6
pull_request :
7
+ permissions :
8
+ contents : read
7
9
jobs :
8
10
full :
9
11
name : Node.js Latest Full
@@ -14,33 +16,32 @@ jobs:
14
16
- name : Install pnpm
15
17
uses : pnpm/action-setup@v2
16
18
with :
17
- version : latest
19
+ version : 8
18
20
- name : Install Node.js
19
21
uses : actions/setup-node@v3
20
22
with :
21
- node-version : 18
23
+ node-version : 21
22
24
cache : pnpm
23
25
- name : Install dependencies
24
26
run : pnpm install --frozen-lockfile --ignore-scripts
25
27
- name : Run tests
26
28
run : pnpm test
27
- env :
28
- FORCE_COLOR : 2
29
29
short :
30
30
runs-on : ubuntu-latest
31
31
strategy :
32
32
matrix :
33
33
node-version :
34
+ - 20
35
+ - 18
34
36
- 16
35
- - 14
36
37
name : Node.js ${{ matrix.node-version }} Quick
37
38
steps :
38
39
- name : Checkout the repository
39
40
uses : actions/checkout@v3
40
41
- name : Install pnpm
41
42
uses : pnpm/action-setup@v2
42
43
with :
43
- version : latest
44
+ version : 8
44
45
- name : Install Node.js ${{ matrix.node-version }}
45
46
uses : actions/setup-node@v3
46
47
with :
@@ -50,13 +51,12 @@ jobs:
50
51
run : pnpm install --frozen-lockfile --ignore-scripts
51
52
- name : Run unit tests
52
53
run : pnpm unit
53
- env :
54
- FORCE_COLOR : 2
55
54
old :
56
55
runs-on : ubuntu-latest
57
56
strategy :
58
57
matrix :
59
58
node-version :
59
+ - 14
60
60
- 12
61
61
- 10
62
62
name : Node.js ${{ matrix.node-version }} Quick
74
74
with :
75
75
node-version : ${{ matrix.node-version }}
76
76
- name : Install dependencies
77
- run : pnpm install --frozen-lockfile --ignore-scripts
77
+ run : pnpm install --no- frozen-lockfile --ignore-scripts
78
78
- name : Run unit tests
79
79
run : pnpm unit
80
- env :
81
- FORCE_COLOR : 2
82
80
benchmark :
83
81
name : Benchmark
84
82
runs-on : ubuntu-latest
88
86
- name : Install pnpm
89
87
uses : pnpm/action-setup@v2
90
88
with :
91
- version : latest
89
+ version : 8
92
90
- name : Install Node.js
93
91
uses : actions/setup-node@v3
94
92
with :
You can’t perform that action at this time.
0 commit comments