Skip to content

Commit 1e07154

Browse files
committed
test(workflow): add build step to the tests pipeline
1 parent 69fcdf5 commit 1e07154

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ jobs:
2424
run: pnpm i
2525
- name: Install Playwright Browsers
2626
run: npx playwright install --with-deps
27+
- name: Build
28+
run: pnpm run build
2729
- name: Run Playwright tests
28-
run: npx playwright test
30+
run: pnpm run test.playwright
2931
- uses: actions/upload-artifact@v3
3032
if: always()
3133
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"release": "npx changeset",
1818
"version": "npx changeset version",
1919
"docker.prod": "docker compose up -f docker-compose.yaml --no-cache --log-level 0",
20-
"test": "pnpm run build && docker-compose -f docker-compose.test.yaml up",
20+
"test": "docker-compose -f docker-compose.test.yaml up",
2121
"test.reset": "docker-compose -f docker-compose.test.yaml up --build",
2222
"test.playwright": "pnpm playwright test",
2323
"test.playwright.debug": "pnpm playwright test --debug",

0 commit comments

Comments
 (0)