use latest react versions #47
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: Code Quality Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v3 | |
name: Derive appropriate SHAs for base and head for `nx affected` commands | |
- uses: pnpm/[email protected] | |
name: Setup pnpm | |
with: | |
version: 8.6.3 | |
- uses: actions/setup-node@v3 | |
name: Setup Node | |
with: | |
node-version-file: .nvmrc | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm format:check | |
- run: pnpm affected:tsc --parallel=3 | |
- run: pnpm affected:lint --parallel=3 | |
- run: pnpm affected:build --parallel=3 |