Skip to content

lint

lint #109

Workflow file for this run

name: Test build
on:
push:
jobs:
test-build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.116.1
steps:
- name: 🛎 Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js
uses: actions/setup-node@master
with:
node-version: 10.x
- run: npm i -g postcss postcss-cli autoprefixer
- name: 🤵 Install Hugo
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: 🍳 Build site
run: |
hugo --gc --minify