Skip to content

Commit 96b9aeb

Browse files
chore: Update validate.yml (#827)
1 parent 3af1b4b commit 96b9aeb

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/validate.yml

+11-12
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@ name: validate
22
on:
33
push:
44
branches:
5-
[
6-
'+([0-9])?(.{+([0-9]),x}).x',
7-
'master',
8-
'next',
9-
'next-major',
10-
'beta',
11-
'alpha',
12-
'!all-contributors/**',
13-
]
14-
pull_request:
15-
branches-ignore: ['all-contributors/**']
5+
- '+([0-9])?(.{+([0-9]),x}).x'
6+
- 'master'
7+
- 'next'
8+
- 'next-major'
9+
- 'beta'
10+
- 'alpha'
11+
- '!all-contributors/**'
12+
pull_request: {}
1613
jobs:
1714
main:
1815
continue-on-error: ${{ matrix.react != 'latest' }}
16+
# ignore all-contributors PRs
17+
if: ${{ !contains(github.head_ref, 'all-contributors') }}
1918
strategy:
2019
matrix:
2120
node: [10.13, 12, 14, 15]
@@ -38,7 +37,7 @@ jobs:
3837
# as requested by the React team :)
3938
# https://reactjs.org/blog/2019/10/22/react-release-channels.html#using-the-next-channel-for-integration-testing
4039
- name: ⚛️ Setup react
41-
run: npm install react@${{matrix.react}} react-dom@${{matrix.react}}
40+
run: npm install react@${{ matrix.react }} react-dom@${{ matrix.react }}
4241

4342
- name: ▶️ Run validate script
4443
run: npm run validate

0 commit comments

Comments
 (0)