This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
Update all dependencies #234
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: push | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
# Get the code | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
# Install dependencies | |
- name: Install Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 | |
with: | |
go-version: '^1.13.1' | |
- name: Install Hugo | |
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2 | |
with: | |
hugo-version: '0.74.3' | |
- name: Install go-html-asset-manager | |
run: | | |
go get -u github.com/gauntface/go-html-asset-manager/cmds/htmlassets/ | |
go get -u github.com/gauntface/go-html-asset-manager/cmds/genimgs/ | |
- name: Install NPM Deps | |
run: npm install | |
# Build it | |
- name: Build | |
run: npm run build |