Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ jobs:
- name: ESLint
run: npm run lint
- name: TypeScript typecheck
run: npx tsc --noEmit
# Build mode, not a bare --noEmit: the root tsconfig is solution-style
# ("files": [] plus project references), so `tsc --noEmit` compiles zero
# files and exits 0 no matter what. This step checked nothing until now.
run: npx tsc -b --noEmit
- name: Frontend build
run: npm run build
- name: Go tests (integration enabled via TEST_DATABASE_URL)
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,20 @@ jobs:
- name: ESLint
run: npm run lint
- name: TypeScript typecheck
run: npx tsc --noEmit
# Build mode, not a bare --noEmit: the root tsconfig is solution-style
# ("files": [] plus project references), so `tsc --noEmit` compiles zero
# files and exits 0 no matter what. This step checked nothing until now.
run: npx tsc -b --noEmit
- name: Go tests (integration enabled via TEST_DATABASE_URL)
working-directory: server
env:
TEST_DATABASE_URL: postgres://deuce:deuce@localhost:5432/deuce?sslmode=disable
run: go test ./...
# -p 1 runs PACKAGES serially, matching ci.yml. The db, handler and
# sshproxy integration packages each reset the schema on the SAME
# database, so running them in parallel fails outright. Without this
# the release cannot publish — the test job dies before the image is
# ever built.
run: go test -p 1 ./...

frontend_build:
if: github.repository == 'forgeutah/deuce'
Expand Down
Loading