File tree 1 file changed +9
-24
lines changed 1 file changed +9
-24
lines changed Original file line number Diff line number Diff line change @@ -52,29 +52,14 @@ jobs:
52
52
run : pnpm unit
53
53
env :
54
54
FORCE_COLOR : 2
55
- old12 :
55
+ old :
56
56
runs-on : ubuntu-latest
57
- name : Node.js 12 Quick
58
- steps :
59
- - name : Checkout the repository
60
- uses : actions/checkout@v3
61
- - name : Install pnpm
62
- uses : pnpm/action-setup@v2
63
- with :
64
- version : " ^6.0.0"
65
- - name : Install Node.js 10
66
- uses : actions/setup-node@v3
67
- with :
68
- node-version : 12
69
- - name : Install dependencies
70
- run : pnpm install --frozen-lockfile --ignore-scripts
71
- - name : Run unit tests
72
- run : pnpm unit
73
- env :
74
- FORCE_COLOR : 2
75
- old10 :
76
- runs-on : ubuntu-latest
77
- name : Node.js 10 Quick
57
+ strategy :
58
+ matrix :
59
+ node-version :
60
+ - 12
61
+ - 10
62
+ name : Node.js ${{ matrix.node-version }} Quick
78
63
steps :
79
64
- name : Checkout the repository
80
65
uses : actions/checkout@v3
@@ -84,10 +69,10 @@ jobs:
84
69
version : 3
85
70
env :
86
71
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
87
- - name : Install Node.js 10
72
+ - name : Install Node.js ${{ matrix.node-version }}
88
73
uses : actions/setup-node@v3
89
74
with :
90
- node-version : 10
75
+ node-version : ${{ matrix.node-version }}
91
76
- name : Install dependencies
92
77
run : pnpm install --frozen-lockfile --ignore-scripts
93
78
- name : Run unit tests
You can’t perform that action at this time.
0 commit comments