1
0
Fork 0
toolkit/.github/workflows/audit.yml

39 lines
619 B
YAML
Raw Permalink Normal View History

2020-05-07 15:39:38 +00:00
name: toolkit-audit
on:
push:
branches:
- main
2020-05-07 15:39:38 +00:00
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
name: Audit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
2020-05-07 15:39:38 +00:00
2023-08-28 14:40:06 +00:00
- name: Set Node.js 20.x
uses: actions/setup-node@v4
2020-05-07 15:39:38 +00:00
with:
2023-08-28 14:40:06 +00:00
node-version: 20.x
2020-05-07 15:39:38 +00:00
- name: npm install
run: npm install
- name: Bootstrap
run: npm run bootstrap
2023-01-03 12:36:38 +00:00
- name: audit tools (without allow-list)
run: npm audit --audit-level=moderate
2020-05-07 15:39:38 +00:00
- name: audit packages
run: npm run audit-all