chore(deps): update cimg/ruby docker tag to v3.3.6 #1323
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: Percy | |
on: [pull_request] | |
jobs: | |
percy: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '14' | |
- run: npm install --save-dev @percy/cli | |
- run: | | |
cd docs | |
bundle exec jekyll build | |
npx percy snapshot _site/ # or any directory such as public/ | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} |