mirror of
https://github.com/mjl-/mox.git
synced 2025-01-14 01:06:27 +03:00
fix build with github action
must have typescript installed before building
This commit is contained in:
parent
618e5c2aa3
commit
3bfff59940
1 changed files with 8 additions and 8 deletions
16
.github/workflows/build-test.yml
vendored
16
.github/workflows/build-test.yml
vendored
|
@ -12,6 +12,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
|
@ -24,14 +32,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: cover.html
|
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.
|
# Format code, we check below if nothing changed.
|
||||||
- run: 'make fmt'
|
- run: 'make fmt'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue