32 lines
No EOL
701 B
YAML
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 |