Skip to content

Commit 8d96b6c

Browse files
committed
Run lint as a separate job to not run it more than once
1 parent 5f29972 commit 8d96b6c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,17 @@ jobs:
1818
run: pnpm build
1919
- name: Run Tests
2020
run: pnpm run test
21+
22+
lint:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: ./.github/actions/setup-test-env
2127
- name: Run Lint
2228
run: pnpm run lint
2329

2430
automerge:
25-
needs: build
31+
needs: [build, lint]
2632
runs-on: ubuntu-latest
2733
steps:
2834
- uses: fastify/github-action-merge-dependabot@v1

0 commit comments

Comments
 (0)