Out in the Open September 2024 #1891
Workflow file for this run
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: Visual tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: '0.104.3' | |
extended: true | |
- name: Build | |
run: hugo | |
- name: Percy Test | |
run: npx @percy/cli@1.24.2 snapshot public/ | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} |