From eba444d1a822a931fc2f02d4243e0b0d928b106f Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 17 Feb 2024 11:21:28 +1100 Subject: [PATCH 1/4] ci: Try running Nx agents on ci.yml --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47ae46b..b440dce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,10 +35,15 @@ jobs: with: node-version-file: .nvmrc cache: pnpm + - name: Start Nx Agents + run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" - name: Install dependencies run: pnpm install --frozen-lockfile --prefer-offline - name: Run Tests - run: pnpm run test:ci + run: pnpm run test:ci --parallel=3 + - name: Stop Agents + if: ${{ always() }} + run: npx nx-cloud stop-all-agents - name: Publish run: | git config --global user.name 'Tanner Linsley' From a4dfd95c604bb6f98b3c65d9d4e6dba884dc68c2 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 17 Feb 2024 11:23:36 +1100 Subject: [PATCH 2/4] Test --- .github/workflows/pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 569e24d..2302d33 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -42,6 +42,8 @@ jobs: main-branch-name: 'main' - name: Run Checks run: pnpm run test:pr --parallel=3 + - name: Test if dist files present in github + run: cat ./packages/react-store/dist/esm/index.js - name: Stop Nx Agents if: ${{ always() }} run: npx nx-cloud stop-all-agents From a8023feac6d220a194ed6f0239e13c16be2f8a20 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 17 Feb 2024 11:25:22 +1100 Subject: [PATCH 3/4] Remove test --- .github/workflows/pr.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2302d33..569e24d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -42,8 +42,6 @@ jobs: main-branch-name: 'main' - name: Run Checks run: pnpm run test:pr --parallel=3 - - name: Test if dist files present in github - run: cat ./packages/react-store/dist/esm/index.js - name: Stop Nx Agents if: ${{ always() }} run: npx nx-cloud stop-all-agents From e32cdbb62192f84ebd38e5f04a2502945f69a4fd Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 17 Feb 2024 11:31:22 +1100 Subject: [PATCH 4/4] Task name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b440dce..d938723 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: run: pnpm install --frozen-lockfile --prefer-offline - name: Run Tests run: pnpm run test:ci --parallel=3 - - name: Stop Agents + - name: Stop Nx Agents if: ${{ always() }} run: npx nx-cloud stop-all-agents - name: Publish