Skip to content

Commit

Permalink
ci: use correct changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
cskiwi committed Dec 28, 2024
1 parent 2a10f70 commit 1de276d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@ jobs:
fi
- name: Start CI run
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
if: ${{ env.PACKAGE_MANAGER != 'bun' }}
run: |
if [ "${{ env.PACKAGE_MANAGER }}" = "bun" ]; then
npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets-bun.yaml"
else
npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
fi
- name: Install dependencies
run: |
Expand Down
4 changes: 4 additions & 0 deletions .nx/workflows/dynamic-changesets-bun.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
distribute-on:
small-changeset: 1 linux-medium-js
medium-changeset: 3 linux-medium-js
large-changeset: 5 linux-medium-js
6 changes: 3 additions & 3 deletions .nx/workflows/dynamic-changesets.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
distribute-on:
small-changeset: 1 linux-medium-js-bun
medium-changeset: 3 linux-medium-js-bun
large-changeset: 5 linux-medium-js-bun
small-changeset: 1 linux-medium-js
medium-changeset: 3 linux-medium-js
large-changeset: 5 linux-medium-js

0 comments on commit 1de276d

Please sign in to comment.