This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
[Snyk] Security upgrade cypress from 9.7.0 to 13.0.0 #1177
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: | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: [master] | |
tags: | |
- '*' | |
jobs: | |
percy: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
# NOTE: percy has its own cache | |
- name: Percy test | |
uses: cypress-io/github-action@v2 | |
with: | |
install-command: yarn --frozen-lockfile --silent | |
cache-key: percy-${{ hashFiles('yarn.lock') }} | |
start: yarn showcase | |
wait-on: 'http://localhost:1234' | |
command-prefix: 'percy exec --' | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
NODE_ENV: 'production' |