format and audit only on linux
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -43,7 +43,9 @@ jobs:
|
|||||||
- name: Format
|
- name: Format
|
||||||
shell: bash
|
shell: bash
|
||||||
run: npm run format-check
|
run: npm run format-check
|
||||||
|
if: matrix.runs-on == 'ubuntu-latest'
|
||||||
|
|
||||||
- name: audit security
|
- name: audit security
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: npm audit --audit-level=moderate
|
run: npm audit --audit-level=moderate
|
||||||
|
if: matrix.runs-on == 'ubuntu-latest'
|
||||||
|
|||||||
Reference in New Issue
Block a user