-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (35 loc) · 1.06 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build metadata from humdrum files
on:
push:
branches:
- master
workflow_dispatch: ~
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/wolfgangdrescher/humlib:latest
options: --user 1001
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Setup node env
uses: actions/setup-node@v3
with:
node-version: 18
-
name: Install dependencies
run: npm ci
-
name: Build metadata
run: npm run build
-
name: Commit metadata
run: |
git config --global user.name "Wolfgang Drescher"
git config --global user.email "drescher.wolfgang+git@gmail.com"
git add -A
git diff --staged --quiet || git commit -m "Action: Build metadata"
git push