Skip to content

Commit 5a18541

Browse files
committed
chore: ci more working-directory
1 parent 111f9cd commit 5a18541

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
jobs:
1010
test_and_build:
1111
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: ./gallery
1215

1316
steps:
1417
- uses: actions/checkout@v4
@@ -30,21 +33,16 @@ jobs:
3033
run_install: false
3134

3235
- name: 📥 Install dependencies
33-
working-directory: ./gallery
3436
run: pnpm install
3537

3638
- name: 🔍 Run linter
37-
working-directory: ./gallery
3839
run: pnpm lint
3940

4041
- name: 🧪 Run type check
41-
working-directory: ./gallery
4242
run: pnpm typecheck
4343

4444
- name: 🧪 Run tests
45-
working-directory: ./gallery
4645
run: pnpm test
4746

4847
- name: 🏗️ Build
49-
working-directory: ./gallery
5048
run: pnpm build

0 commit comments

Comments
 (0)