File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,39 @@ name: Verify
22on : push
33
44jobs :
5- verify :
5+ react-versions :
66 runs-on : ubuntu-latest
77 strategy :
88 matrix :
99 react : [ 16, 17, 18 ]
10- name : React ${{ matrix.react }} Verify
10+ name : React ${{ matrix.react }} Build
1111 steps :
1212 - uses : actions/checkout@v3
1313 - uses : volta-cli/action@v3
1414 - name : Dependencies
1515 run : yarn
16- - name : Build
17- run : yarn build
1816 - name : Custom React version
1917 run : |
18+ echo "enableImmutableInstalls: false" > ./.yarnrc.yml
2019 yarn add react@${{ matrix.react }} -D
2120 cd packages/core
2221 yarn add react@${{ matrix.react }} -D
23- yarn build
22+ cd ../..
23+ cat ./.yarnrc.yml
24+ yarn
25+ - name : Build
26+ run : yarn build
27+
28+ verify :
29+ runs-on : ubuntu-latest
30+ name : Lint and Test
31+ steps :
32+ - uses : actions/checkout@v3
33+ - uses : volta-cli/action@v3
34+ - name : Dependencies
35+ run : yarn
36+ - name : Build
37+ run : yarn build
2438 - name : Test
2539 run : yarn test
2640 - name : Lint
You can’t perform that action at this time.
0 commit comments