github: add a build test job for renovate checks
This commit is contained in:
parent
a585b2e646
commit
d65ca7229e
|
@ -0,0 +1,31 @@
|
|||
name: Build worker and website
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- renovate/**
|
||||
|
||||
jobs:
|
||||
deploy-main:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Latest Version of Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.91.0'
|
||||
extended: true
|
||||
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.17.5'
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
hugo --minify --gc
|
||||
yarn install
|
||||
yarn run build
|
Loading…
Reference in New Issue