Fix Commit - Committing fix whereby NPM Audit Actions Fails when running on Windows OS (#122)
- This commit is to fix an issue when running the 'npm-audit-action' on the 'windows-latest' - Integrated the 'spawnSync' to use the right 'npm' script based upon the OS used
This commit is contained in:
5
.github/workflows/daily.yml
vendored
5
.github/workflows/daily.yml
vendored
@@ -7,7 +7,10 @@ on:
|
||||
jobs:
|
||||
scan:
|
||||
name: npm audit
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: install dependencies
|
||||
|
||||
Reference in New Issue
Block a user