Skip to content

Commit 8e37024

Browse files
committed
Run lint, typecheck, and test concurrently in release workflow
- would runnig type check and tests speed up workflow? └── .github ├── actions │ └── create-app-release │ └── action.yml └── workflows └── github-release.yml
1 parent 25c603c commit 8e37024

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

‎.github/workflows/github-release.yml‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,15 @@ jobs:
5050
- name: Install dependencies
5151
run: pnpm i
5252

53-
- name: Lint
54-
run: pnpm lint
55-
56-
- name: Type check
57-
run: pnpm typecheck
58-
59-
- name: Test
60-
run: pnpm test
53+
- name: Run checks concurrently
54+
run: |
55+
pnpm lint & PID1=$!
56+
pnpm typecheck & PID2=$!
57+
pnpm test & PID3=$!
58+
59+
wait $PID1 || exit 1
60+
wait $PID2 || exit 1
61+
wait $PID3 || exit 1
6162
6263
release-vscode:
6364
needs: [check, changes]

0 commit comments

Comments
 (0)