Skip to content

Update getstarted.html.erb #48

Update getstarted.html.erb

Update getstarted.html.erb #48

name: Visual regression
on:
pull_request:
branches:
- 'master'
paths:
- 'source/**'
push:
branches:
- 'master'
paths:
- 'source/**'
workflow_dispatch:
permissions:
contents: read
jobs:
visual-regression:
name: Start visual regression build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Setup Ruby
uses: ruby/setup-ruby@7d546f4868fb108ed378764d873683f920672ae2
with:
ruby-version: '.ruby-version'
bundler-cache: true
- name: Setup Node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install and Build
run: |
npm ci
bundle exec middleman build
- name: Run Percy tasks
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
run: npm run percy