Skip to content

chore: update publish scripts #304

chore: update publish scripts

chore: update publish scripts #304

Workflow file for this run

name: 'CI'
on:
push:
branches:
- master
pull_request:
jobs:
ci:
needs: [test, downstream]
runs-on: ubuntu-latest
steps:
- run: true
test:
name: yarn test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: yarn install --pure-lockfile
- name: Check Peer Dependencies
run: npx check-peer-dependencies
- name: Run Tests
run: yarn test
downstream:
name: Test downstream ${{ matrix.group }} projects
runs-on: ubuntu-latest
strategy:
matrix:
group: ['all']
steps:
- uses: actions/checkout@v2
- name: Prepare to Test Downstream Projects
run: |
git config --global user.email uirouter@github.actions
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 }}