separate action for test and audit

This commit is contained in:
Slawomir Jaranowski
2020-03-18 18:14:03 +01:00
parent 6e3efd3238
commit 79b590b1fa
2 changed files with 30 additions and 2 deletions

27
.github/workflows/audit.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: "Audit"
on:
pull_request:
push:
branches-ignore:
- 'dependabot/*'
schedule:
- cron: '09 22 * * *'
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm version
- run: npm ci
- run: npm audit