mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +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:
|
||||
- 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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue