Add github workflow

This commit is contained in:
Melon 2024-06-02 10:43:40 +01:00
parent 14d0b4ef43
commit 835152fb38
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

20
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,20 @@
on: [push, pull_request]
name: Build
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: actions/setup-node@v4
with:
node-version: latest
- uses: actions/checkout@v4
- run: yarn build
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v')
with:
files: |
lavender/**