This commit is contained in:
parent
dff92ce496
commit
b354e78bfa
32
.gitea/workflows/build.yaml
Normal file
32
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,32 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
github-server-url: 'https://git.tijl.dev'
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.22'
|
||||
|
||||
- name: Build css
|
||||
run: npm run build:css
|
||||
|
||||
- name: Build js
|
||||
run: npm run build
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
|
0
static/css/.gitkeep
Normal file
0
static/css/.gitkeep
Normal file
0
static/js/.gitkeep
Normal file
0
static/js/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user