Merge pull request #1674 from dictyBase/dependabot/npm_and_yarn/prett… #825
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: Visual testing | |
on: | |
pull_request: | |
types: [edited, labeled, opened, synchronize, reopened] | |
# only run when src files have changed | |
paths: | |
- "src/**" | |
push: | |
branches: | |
- develop | |
jobs: | |
percy: | |
if: ${{ false }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: set up node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.13.1 | |
- name: check out code | |
uses: actions/checkout@v3 | |
- name: install dependencies | |
run: | | |
mv common/utils/clientConfig.sample.ts common/utils/clientConfig.ts | |
yarn install | |
- name: run cypress and percy tests | |
run: yarn cypress:ci | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} |