Skip to content

Commit 40d9a71

Browse files
committed
build shared package before running tests
1 parent b71dbc9 commit 40d9a71

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ jobs:
3737
run: docker exec finishline psql -U postgres -c "CREATE DATABASE nerpm;"
3838
- name: Install modules
3939
run: yarn install && yarn prisma:generate && yarn prisma:migrate:prod
40+
- name: Build shared package
41+
run: yarn build:shared
4042
- name: Run tests
4143
run: yarn test:backend; yarn test:frontend

.github/workflows/tsc-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ jobs:
2828
- name: Install dependencies
2929
run: yarn install && yarn prisma:generate
3030

31+
- name: Build shared package
32+
run: yarn build:shared
33+
3134
- name: Run tsc check
3235
run: npm run tsc-check # You need to define this script in your package.json

0 commit comments

Comments
 (0)