React resize handle #251
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: | |
- main | |
pull_request: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'yarn' | |
node-version: '16' | |
- run: yarn install --frozen-lockfile | |
- run: yarn check-dependencies | |
- run: yarn nx affected --target=type-check --parallel --max-parallel=3 | |
- run: yarn nx affected --target=build --parallel --max-parallel=3 | |
- run: yarn nx affected --target=test --parallel --max-parallel=2 | |
- run: yarn nx affected --target=lint --parallel --max-parallel=3 | |
- run: yarn nx format:check --base origin/main | |
- name: 'Deduplicate yarn.lock' | |
run: npx yarn-deduplicate | |
- name: 'Check for unstaged changes' | |
run: | | |
git status --porcelain | |
git diff-index --quiet HEAD -- || exit 1 |