Skip to content

chore(deps): update dependency @bahmutov/cy-grep to v2 #641

chore(deps): update dependency @bahmutov/cy-grep to v2

chore(deps): update dependency @bahmutov/cy-grep to v2 #641

Workflow file for this run

name: pr changed tests
on: [pull_request]
jobs:
changed-tests:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# need to fetch info about all branches
# to determine the changed spec files
# https://glebbahmutov.com/blog/faster-ci-feedback/
fetch-depth: 0
# Install NPM dependencies, cache them correctly
# https://github.com/cypress-io/github-action
- name: Cypress run
uses: cypress-io/github-action@v5
with:
# only install everything
runTests: false
- name: Changed specs
# see changed Cypress specs in this branch
run: npm run changed-specs
- name: Trace changed specs
# against the "master" branch
# and including changed files imported by specs
# https://github.com/bahmutov/find-cypress-specs
id: trace
run: npm run trace-changed-specs
- name: Run changed Cypress specs 🏎
if: ${{ steps.trace.outputs.changedSpecsN > 0 }}
uses: cypress-io/github-action@v5
with:
# we have already installed all dependencies above
install: false
spec: ${{ steps.trace.outputs.changedSpecs }}
# start the app before running the tests
start: npm start