Refactor: optimize Cypress config for speed & dependabot #1349
Workflow file for this run
This file contains hidden or 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
# Enables dependency scans on pull requests. | |
# When changes in dependencies are detected, it will raise an error | |
# if any vulnerabilities or invalid licenses are introduced. | |
# See for more info: https://github.com/actions/dependency-review-action | |
name: 'Dependency PR Review' | |
on: | |
pull_request: | |
branches: [develop] | |
types: [opened, synchronize] | |
permissions: | |
contents: read | |
jobs: | |
dependency-review: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
- name: 'Dependency Review' | |
uses: actions/dependency-review-action@v4 | |
with: | |
# fails when moderate vulnerabilities are detected | |
fail-on-severity: moderate | |
# comments on PR when vulnerabilities are detected | |
comment-summary-in-pr: on-failure | |
- name: Log Context Information | |
run: | | |
echo "Repository: ${{ github.repository }}" | |
echo "SHA: ${{ github.sha }}" | |
echo "REF: ${{ github.ref }}" |