fix build with github action

must have typescript installed before building
This commit is contained in:
Mechiel Lukkien 2024-01-01 14:04:16 +01:00
parent 618e5c2aa3
commit 3bfff59940
No known key found for this signature in database

View file

@ -12,6 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v3
# Trigger rebuilding frontends, should be the same as committed.
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: npm ci
- run: 'touch */*.ts'
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
@ -24,14 +32,6 @@ jobs:
with:
path: cover.html
# Rebuild webmail frontend code, should be the same as committed.
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: npm ci
- run: 'touch webmail/*.ts && make frontend'
# Format code, we check below if nothing changed.
- run: 'make fmt'