Add initial version of GitHub actions

This commit is contained in:
Pascal Jufer 2021-10-13 18:44:32 +02:00
parent 41f8f70309
commit 3a4cd90435
2 changed files with 38 additions and 0 deletions

21
.github/workflows/build.yaml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Build
on:
push:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update build artifacts

17
.github/workflows/release.yaml vendored Normal file
View file

@ -0,0 +1,17 @@
# TODO Action to create release on GitHub and publish npm packages
#
# name: Release
#
# on:
# push:
# tags:
# - "v[0-9]+.[0-9]+.[0-9]+"
#
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Release
# uses: softprops/action-gh-release@v1