Update VM-Deploy.yml to fix the pytest command #34
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
| name: Retire.js Security Scan | |
| on: | |
| push: | |
| branches: | |
| - '**' # Run on all branches | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| - develop | |
| defaults: | |
| run: | |
| shell: bash | |
| permissions: | |
| contents: read | |
| jobs: | |
| retire: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: cp install/package.json package.json | |
| - name: Install Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: NPM Install | |
| uses: bahmutov/npm-install@v1 | |
| with: | |
| useLockFile: false | |
| - name: Run Retire.js JavaScript vulnerability scan | |
| run: npm run retire |