2020-05-07 15:39:38 +00:00
|
|
|
name: toolkit-audit
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-07-21 15:33:05 +00:00
|
|
|
- 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@v2
|
|
|
|
|
|
|
|
- name: Set Node.js 12.x
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 12.x
|
|
|
|
|
|
|
|
- name: npm install
|
|
|
|
run: npm install
|
|
|
|
|
|
|
|
- name: Bootstrap
|
|
|
|
run: npm run bootstrap
|
|
|
|
|
2020-08-03 20:55:53 +00:00
|
|
|
# - name: audit tools #disabled while we wait for https://github.com/actions/toolkit/issues/539
|
|
|
|
# run: npm audit --audit-level=moderate
|
2020-05-07 15:39:38 +00:00
|
|
|
|
|
|
|
- name: audit packages
|
|
|
|
run: npm run audit-all
|