File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 15
15
strategy :
16
16
matrix :
17
17
os : [windows-latest, macOS-latest, ubuntu-latest]
18
+ yarn : [classic, berry]
18
19
steps :
19
20
- name : Fix git checkout line endings
20
21
run : git config --global core.autocrlf input
29
30
run : |
30
31
npm install -g npm@8
31
32
- name : Install
33
+ if : matrix.yarn == 'classic'
32
34
run : yarn install
35
+ - name : Install with berry
36
+ if : matrix.yarn == 'berry'
37
+ run : yarn set version berry && yarn install
33
38
- name : Lint
34
39
run : yarn lint
35
40
- name : Ensure packages in sync
44
49
strategy :
45
50
matrix :
46
51
os : [windows-latest, macOS-latest, ubuntu-20.04]
52
+ yaen : [classic, berry]
47
53
steps :
48
54
- name : Fix git checkout line endings
49
55
run : git config --global core.autocrlf input
71
77
node-version : 14.x
72
78
cache : yarn
73
79
- name : Install
80
+ if : matrix.yarn == 'classic'
74
81
run : yarn install --frozen-lockfile
82
+ - name : Install with berry
83
+ if : matrix.yarn == 'berry'
84
+ run : yarn set version berry && yarn install
75
85
- name : Build
76
86
run : yarn build
77
87
- name : Test
You can’t perform that action at this time.
0 commit comments