Test build speed

This commit is contained in:
Nathan Bierema 2022-11-07 08:42:43 -05:00
parent cd6b0c414f
commit 0fefc251be
2 changed files with 6 additions and 6 deletions

View File

@ -25,10 +25,10 @@ jobs:
- name: Check formatting - name: Check formatting
run: pnpm run format:check run: pnpm run format:check
- name: Build - name: Build
run: pnpm exec nx affected --target=build --parallel=3 run: pnpm run build:all
- name: Lint - name: Lint
run: pnpm exec nx affected --target=lint --parallel=3 run: pnpm run lint:all
- name: Test - name: Test
uses: GabrielBB/xvfb-action@v1 uses: GabrielBB/xvfb-action@v1
with: with:
run: pnpm exec nx affected --target=test --parallel=3 run: pnpm run test:all

View File

@ -20,9 +20,9 @@
"scripts": { "scripts": {
"format": "prettier --write .", "format": "prettier --write .",
"format:check": "prettier --check .", "format:check": "prettier --check .",
"build:all": "nx run-many --target=build --all", "build:all": "nx run-many --target=build --all --skip-nx-cache",
"lint:all": "nx run-many --target=lint --all", "lint:all": "nx run-many --target=lint --all --skip-nx-cache",
"test:all": "nx run-many --target=test --all", "test:all": "nx run-many --target=test --all --skip-nx-cache",
"clean:all": "nx run-many --target=clean --all", "clean:all": "nx run-many --target=clean --all",
"release": "pnpm build:all && changeset publish" "release": "pnpm build:all && changeset publish"
}, },