diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 5c4a80e..457cffd 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -35,4 +35,7 @@ jobs: uses: nrwl/nx-set-shas@v4 - name: ⚙️ Run Tests - run: npx nx affected -t lint test build + run: npx nx affected -t lint test --parallel=2 + + - name: ⚙️ Run Build + run: npx nx affected -t build diff --git a/nx.json b/nx.json index 444c39b..18551ac 100644 --- a/nx.json +++ b/nx.json @@ -1,5 +1,6 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", + "defaultBase": "origin/main", "namedInputs": { "default": ["{projectRoot}/**/*", "sharedGlobals"], "production": [