Skip to content

Commit 15db141

Browse files
committed
Fix workflows
1 parent a55917d commit 15db141

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- run: npm i -g pnpm@9.0.5 && pnpm i
2424
name: Install dependencies
2525
- name: Test
26-
run: npm test
26+
run: pnpm build && pnpm test
2727
- run: git status && git clean -f -d && git status
2828
name: clean up working directory
2929
- run: npx @turbo/codemod update . && pnpm update --latest -r

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
name: Install dependencies
2626
# fail and not publish if any of the unit tests are failing
2727
- name: Test
28-
run: pnpm test
28+
run: pnpm build --filter @repo/shared && pnpm test
2929
- name: clean up working directory
3030
run: git status && git clean -f -d && git status
3131
- name: Setup Git

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: Install dependencies
3030
# fail and not publish if any of the unit tests are failing
3131
- name: Test
32-
run: pnpm test
32+
run: pnpm build --filter @repo/shared && pnpm test
3333
- name: Setup Git
3434
run: |
3535
git config --global user.name "mayank1513"

0 commit comments

Comments
 (0)