Skip to content

Add percy on github actions #1

Add percy on github actions

Add percy on github actions #1

on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
working-directory: vue-project
run: npm install
- name: Run percy tests
working-directory: vue-project
env:
PERCY_TOKEN: ${{ secrets. PERCY_TOKEN }}
run: PERCY_TOKEN=$PERCY_TOKEN npx percy exec -- cypress run