From d65ca7229e1b25c9d602cd5b8ce9ac7086b77764 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 5 Jul 2022 00:05:43 +0530 Subject: [PATCH] github: add a build test job for renovate checks --- .github/workflows/build-test.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build-test.yml diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..84483d5 --- /dev/null +++ b/.github/workflows/build-test.yml @@ -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