Skip to content

Commit e3fb44b

Browse files
committed
chore: change multi-react verify strategy
1 parent 5c95a66 commit e3fb44b

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/verify.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,39 @@ name: Verify
22
on: push
33

44
jobs:
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

0 commit comments

Comments
 (0)