shacl-vue/.forgejo/workflows/buildtest.yml
Stephan Heunis de15159371
Some checks failed
Build shacl-vue / build (push) Successful in 52s
Deploy on webserver / Build docs and deploy (push) Failing after 12s
add workflow to test shacl-vue build on push to main
2026-10-19 21:26:14 +02:00

32 lines
No EOL
701 B
YAML

name: Build shacl-vue
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: debian-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
with:
fetch-depth: 0
submodules: recursive
- name: Build application
shell: bash
run: |
set -euo pipefail
npm install vite
npm install
BUILD_GIT_COMMIT="$(git rev-parse HEAD)" \
BUILD_GIT_COMMIT_SHORT="$(git rev-parse --short HEAD)" \
BUILD_GIT_BRANCH="$(git rev-parse --abbrev-ref HEAD)" \
BUILD_GIT_DATE="$(git show -s --format=%cI HEAD)" \
npm run build:app