cleaning up workflow for python tests #16
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: Commit Workflow | |
on: | |
push | |
jobs: | |
audit-deps: | |
runs-on: ubuntu-latest | |
name: Check Node Dependencies for Known Security Vulnerabilities | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
working-directory: ./react-frontend | |
audit: npm audit --omit dev | |
check-unused-deps: | |
runs-on: ubuntu-latest | |
name: Check for Unused Node Dependencies | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
working-directory: ./react-frontend | |
ignores: 'jest' | |
execute: npm install depcheck -g && depcheck | |
run-cypress-tests: | |
runs-on: ubuntu-latest | |
name: Run Cypress Tests | |
container: | |
image: cypress/browsers:node18.12.0-chrome107 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cypress-io/github-action@v6 | |
with: | |
working-directory: ./react-frontend | |
build: npm run build | |
start: npm start |