mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 06:33:17 +08:00
only audit on ubuntu-latest (#283)
This commit is contained in:
2
.github/workflows/unit-tests.yml
vendored
2
.github/workflows/unit-tests.yml
vendored
@@ -50,6 +50,8 @@ jobs:
|
|||||||
|
|
||||||
- name: audit tools
|
- name: audit tools
|
||||||
run: npm audit --audit-level=moderate
|
run: npm audit --audit-level=moderate
|
||||||
|
if: matrix.runs-on == 'ubuntu-latest'
|
||||||
|
|
||||||
- name: audit packages
|
- name: audit packages
|
||||||
run: npm run audit-all
|
run: npm run audit-all
|
||||||
|
if: matrix.runs-on == 'ubuntu-latest'
|
||||||
|
|||||||
Reference in New Issue
Block a user