diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d0e4aeb..e37f122 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,12 +58,13 @@ jobs: dumpbin /headers hello.exe audit: name: npm audit - runs-on: windows-latest + runs-on: ubuntu-latest steps: - name: Check out source code uses: actions/checkout@v2 - run: npm install - - run: npm audit --audit-level=moderate + - run: npm audit --audit-level=moderate --production + - run: npm audit --audit-level=critical alias-arch: name: arch aliases runs-on: windows-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9c853f..08b856b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,8 +23,9 @@ jobs: hello.exe audit: name: npm audit - runs-on: windows-latest + runs-on: ubuntu-latest steps: - name: Check out source code uses: actions/checkout@v2 - - run: npm audit --audit-level=moderate + - run: npm audit --audit-level=moderate --production + - run: npm audit --audit-level=critical diff --git a/package-lock.json b/package-lock.json index 3735354..70a4bd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -531,9 +531,9 @@ } }, "node_modules/glob-parent": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz", - "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "dependencies": { "is-glob": "^4.0.1" @@ -1690,9 +1690,9 @@ } }, "glob-parent": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz", - "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "requires": { "is-glob": "^4.0.1"