Skip to content

Commit d135b0e

Browse files
authored
Merge pull request #79 from zerebos/feat/parallel
parallelize ci action
2 parents 46b1b61 + c755cdc commit d135b0e

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,16 @@ jobs:
3333
- name: 📦 Install dependencies
3434
run: bun install --frozen-lockfile
3535

36-
- name: 📋 Run unit tests
37-
run: bun run test
36+
- parallel:
37+
- name: 📋 Run unit tests
38+
run: bun run test
3839

39-
- name: 🔎 Svelte type check
40-
run: bun run check
40+
- name: 🔎 Svelte type check
41+
run: bun run check
4142

42-
- name: 🧹 Lint
43-
run: bun run lint
43+
# Lint just the `src` folder... `scripts` can be a bit more freeform and we don't want to block PRs for that.
44+
- name: 🧹 Lint
45+
run: bun run lint:ci
4446

45-
- name: 🔨 Build
46-
run: bun run build
47+
- name: 🔨 Build
48+
run: bun run build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
1717
"test": "vitest run . --reporter=verbose",
1818
"lint": "eslint .",
19+
"lint:ci": "eslint src",
1920
"format": "prettier --write . && eslint . --fix",
2021
"wrangler:dev": "bun run build && wrangler dev",
2122
"wrangler:types": "wrangler types"

0 commit comments

Comments
 (0)