Skip to content

Commit cf7e225

Browse files
committed
tsc in ci
1 parent 7ae7d8d commit cf7e225

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ jobs:
7878
7979
{ test -n "$bg_pid" && kill $bg_pid; } || true
8080
81-
8281
- name: Postgres logs
8382
if: failure() # always()
8483
run: docker logs postgres_db_openapi-go-gin
@@ -100,3 +99,8 @@ jobs:
10099
# https://stackoverflow.com/questions/65242830/in-a-github-actions-workflow-is-there-a-way-to-have-multiple-jobs-reuse-the-sam
101100
# https://github.com/kmadof/github-actions-manual/blob/main/.github/actions/say-hello/action.yml
102101

102+
- name: Build frontend
103+
run: |
104+
source .envrc
105+
106+
project build.frontend

bin/project

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,6 +1372,15 @@ x.test.backend() {
13721372
xsetup.backup.cleanup
13731373
}
13741374

1375+
# Build frontend.
1376+
# Args: [...]
1377+
x.build.frontend() {
1378+
config_template_setup frontend
1379+
1380+
cd frontend
1381+
pnpm run build
1382+
}
1383+
13751384
# Test frontend. Accepts `vitest` parameters.
13761385
# Args: [...]
13771386
x.test.frontend() {

0 commit comments

Comments
 (0)