From 070f750b3617dda82e29dd0098cf0944f12bc8be Mon Sep 17 00:00:00 2001 From: Kai Nguyen Date: Thu, 21 Nov 2024 20:23:53 +1100 Subject: [PATCH] MI-39: Update workflow --- .github/workflows/pull-request.yml | 5 ++++- nx.json | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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": [