Skip to content

Commit c38b6ea

Browse files
committed
Update workflow
1 parent 8658416 commit c38b6ea

3 files changed

Lines changed: 21 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,19 @@ jobs:
5151
run: pnpm install
5252

5353
- name: Run check format
54-
run: npm run check-format
54+
run: pnpm run check-format
5555

5656
- name: Run check exports
57-
run: npm run check-exports
57+
working-directory: packages/pg-bg-job-queue
58+
run: pnpm run check-exports
5859

5960
- name: Run lint
60-
run: npm run lint
61+
working-directory: packages/pg-bg-job-queue
62+
run: pnpm run lint
6163

6264
- name: Run test
63-
run: npm run test
65+
working-directory: packages/pg-bg-job-queue
66+
run: pnpm run test
6467

6568
deploy:
6669
runs-on: ubuntu-latest
@@ -97,6 +100,7 @@ jobs:
97100
run: pnpm install
98101

99102
- name: Build
103+
working-directory: packages/pg-bg-job-queue
100104
run: pnpm run build
101105

102106
- name: Set up .npmrc

.prettierignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules
2+
dist
3+
data
4+
.turbo
5+
.vscode
6+
.env
7+
.env.local
8+
.env.development.local
9+
.env.test.local
10+
.env.production.local
11+
pnpm-lock.yaml

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"build": "turbo run build",
1212
"lint": "turbo run lint",
1313
"test": "turbo run test",
14-
"format": "prettier --write ."
14+
"format": "prettier --write .",
15+
"check-format": "prettier --check ."
1516
}
1617
}

0 commit comments

Comments
 (0)