Merge pull request #112 from secundant/92-neodxsvg-generate-sizes-and… #122
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: | |
types: [opened, synchronize] | |
jobs: | |
nx: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Run NX checks | |
run: | | |
yarn nx format:check | |
yarn nx workspace-lint | |
yarn nx affected --target lint --parallel 3 | |
yarn nx affected --target test --parallel 3 | |
yarn nx affected --target build --parallel 3 | |
yarn nx affected --target typecheck --parallel 3 |