test(deps): mitigate vulnerabilities in examples #2840
Workflow file for this run
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: example-custom-command | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
start: | |
# example where instead of forming the default "cypress run ..." | |
# the user can specify their own command | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Custom tests 🧪 | |
uses: ./ | |
with: | |
command: npm run custom-test | |
working-directory: examples/custom-command | |
- name: Show saved file 🖨 | |
run: cat examples/custom-command/results.json |