Skip to content

Commit 0ac4fa4

Browse files
committed
ci: moved action to the right place
1 parent d168837 commit 0ac4fa4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/actions/test/action.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ 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-
1913
- name: Lint
2014
shell: bash
2115
run: npx nx affected:lint --base=last-release --exclude=website

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@ jobs:
1313
node_version: [16]
1414

1515
steps:
16+
- name: Cancel Previous Runs
17+
uses: styfle/[email protected]
18+
if: github.event_name == 'pull_request'
19+
with:
20+
access_token: ${{ secrets.GITHUB_TOKEN }}
1621
- uses: actions/checkout@v3
1722
- name: Setup
1823
uses: ./.github/actions/setup
1924
with:
2025
node_version: ${{ matrix.node_version }}
2126

2227
- name: Test
23-
uses: ./.github/actions/test
28+
uses: ./.github/actions/test

0 commit comments

Comments
 (0)