github: add a build test job for renovate checks

This commit is contained in:
Harsh Shandilya 2022-07-05 00:05:43 +05:30
parent a585b2e646
commit d65ca7229e
1 changed files with 31 additions and 0 deletions

31
.github/workflows/build-test.yml vendored Normal file
View File

@ -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