Skip to content

Commit

Permalink
chore: Update validate.yml (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Nov 16, 2020
1 parent 3af1b4b commit 96b9aeb
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/validate.yml
Expand Up @@ -2,20 +2,19 @@ name: validate
on:
push:
branches:
[
'+([0-9])?(.{+([0-9]),x}).x',
'master',
'next',
'next-major',
'beta',
'alpha',
'!all-contributors/**',
]
pull_request:
branches-ignore: ['all-contributors/**']
- '+([0-9])?(.{+([0-9]),x}).x'
- 'master'
- 'next'
- 'next-major'
- 'beta'
- 'alpha'
- '!all-contributors/**'
pull_request: {}
jobs:
main:
continue-on-error: ${{ matrix.react != 'latest' }}
# ignore all-contributors PRs
if: ${{ !contains(github.head_ref, 'all-contributors') }}
strategy:
matrix:
node: [10.13, 12, 14, 15]
Expand All @@ -38,7 +37,7 @@ jobs:
# as requested by the React team :)
# https://reactjs.org/blog/2019/10/22/react-release-channels.html#using-the-next-channel-for-integration-testing
- name: 鈿涳笍 Setup react
run: npm install react@${{matrix.react}} react-dom@${{matrix.react}}
run: npm install react@${{ matrix.react }} react-dom@${{ matrix.react }}

- name: 鈻讹笍 Run validate script
run: npm run validate
Expand Down

0 comments on commit 96b9aeb

Please sign in to comment.