Skip to content

Commit 0fad280

Browse files
committed
fix ci
1 parent e680ef6 commit 0fad280

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/_common_jobs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,39 @@ on:
77
type: string
88
jobs:
99
lint:
10+
defaults:
11+
run:
12+
working-directory: ${{ inputs.working-directory }}
1013
runs-on: ubuntu-latest
1114
steps:
1215
- uses: actions/checkout@v4
1316
- run: npm i
1417
- run: npm run lint
1518

1619
typecheck:
20+
defaults:
21+
run:
22+
working-directory: ${{ inputs.working-directory }}
1723
runs-on: ubuntu-latest
1824
steps:
1925
- uses: actions/checkout@v4
2026
- run: npm i
2127
- run: tsc
2228

2329
test:
30+
defaults:
31+
run:
32+
working-directory: ${{ inputs.working-directory }}
2433
runs-on: ubuntu-latest
2534
steps:
2635
- uses: actions/checkout@v4
2736
- run: npm i
2837
- run: npm run coverage
2938

3039
buildcheck:
40+
defaults:
41+
run:
42+
working-directory: ${{ inputs.working-directory }}
3143
runs-on: ubuntu-latest
3244
steps:
3345
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)