mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
19 lines
506 B
YAML
19 lines
506 B
YAML
name: Dev
|
|
on:
|
|
push:
|
|
jobs:
|
|
build_docker:
|
|
name: Build Docker image
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run the TypeScript build
|
|
run: npx tsc
|
|
- name: Create server-package.json
|
|
run: cat package.json | grep -v electron > server-package.json
|
|
- uses: docker/setup-buildx-action@v1
|
|
- uses: docker/build-push-action@v2
|
|
with:
|
|
context: .
|
|
cache-from: type=gha
|
|
cache-to: type=gha,mode=max |