fix polluted array prototype #658
Workflow file for this run
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, downstream] | |
runs-on: ubuntu-latest | |
steps: | |
- run: true | |
test: | |
name: yarn ${{ matrix.yarncmd }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
yarncmd: ['test', 'docs'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install Dependencies | |
run: yarn install --pure-lockfile | |
- name: Check Peer Dependencies | |
run: npx check-peer-dependencies | |
- name: Run Tests | |
run: yarn ${{ matrix.yarncmd }} | |
downstream: | |
name: Test downstream ${{ matrix.group }} projects | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
group: ['angular', 'angularjs', 'react', 'other'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare to Test Downstream Projects | |
run: | | |
npm config set scripts-prepend-node-path auto | |
git config --global user.email [email protected] | |
git config --global user.name uirouter_github_actions | |
- name: Install Dependencies | |
run: yarn install --pure-lockfile | |
- name: Test Downstream Projects | |
run: yarn test:downstream --group ${{ matrix.group }} |