1.1.1 #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'CI' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
ci: | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- run: true | |
test: | |
name: yarn ${{ matrix.yarncmd }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
yarncmd: ['test', 'test:downstream', 'docs'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Configure Environment | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name uirouter_github_actions | |
- name: Install Dependencies | |
run: yarn install --pure-lockfile | |
- name: Check Peer Dependencies | |
run: npx check-peer-dependencies | |
- name: Run yarn ${{ matrix.yarncmd }} | |
run: yarn ${{ matrix.yarncmd }} |