Skip to content

Commit d168837

Browse files
committed
ci: fix versioning for multiple projects
1 parent 90d9960 commit d168837

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/actions/release/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
NODE_AUTH_TOKEN: ${{ inputs.npm_token }}
2525
GITHUB_TOKEN: ${{ inputs.github_token }}
2626
shell: bash
27-
run: npx nx affected --base=last-release --target=version-publish
27+
run: npx nx affected --base=last-release --target=version-publish --parallel=1
2828

2929
- name: Tag last-release
3030
shell: bash

.github/actions/test/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ runs:
1010
# shell: bash
1111
# run: npx --no-install commitlint --from=last-release
1212

13+
- name: Cancel Previous Runs
14+
uses: styfle/[email protected]
15+
if: github.event_name == 'pull_request'
16+
with:
17+
access_token: ${{ secrets.GITHUB_TOKEN }}
18+
1319
- name: Lint
1420
shell: bash
1521
run: npx nx affected:lint --base=last-release --exclude=website

0 commit comments

Comments
 (0)