fix(yaml template): update v5 link #381
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: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
jobs: | |
percy: | |
name: Visual testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: Install | |
run: yarn install | |
- name: Build | |
run: yarn build | |
- name: Start server and run percy | |
run: | | |
yarn start & | |
sleep 60 && | |
yarn visual | |
env: | |
PERCY_TOKEN: ${{secrets.PERCY_TOKEN}} |