Merge pull request #1029 from ccnmtl/dependabot/npm_and_yarn/sentry/b… #1339
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, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: npm install | |
run: npm install | |
- name: Get Hugo | |
run: wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.47.1/hugo_0.47.1_Linux-64bit.deb | |
- name: Install Hugo | |
run: sudo dpkg -i /tmp/hugo.deb | |
- name: Link Hugo | |
run: sudo ln /usr/local/bin/hugo /usr/local/bin/hugo-0.47.1 | |
- name: Build and Test with Makefile | |
run: make test |