Merge pull request #2186 from dictyBase/dependabot/npm_and_yarn/eslin… #1076
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@v4 | |
with: | |
node-version: 16.13.1 | |
- name: check out code | |
uses: actions/checkout@v4 | |
- 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 }} |