1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00

Create CI flow

This commit is contained in:
Ash Keel 2021-09-18 22:11:50 +02:00 committed by GitHub
parent 8596ce3f6d
commit a0ca60ec60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Go environment
uses: actions/setup-go@v2.1.4
- name: Setup Node.js
uses: actions/setup-node@v1
- name: Build frontend
run: |
cd frontend
npm install
npm run build
- name: Build app
run: |
cd ..
go build .