|
|
|
@ -16,23 +16,23 @@ jobs:
|
|
|
|
|
matrix:
|
|
|
|
|
operating-system: [ubuntu-latest, windows-latest]
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
|
|
- name: Setup node 12
|
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
|
with:
|
|
|
|
|
node-version: 12
|
|
|
|
|
- name: Setup node 12
|
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
|
with:
|
|
|
|
|
node-version: 12
|
|
|
|
|
|
|
|
|
|
- name: npm install
|
|
|
|
|
run: npm install
|
|
|
|
|
- name: npm install
|
|
|
|
|
run: npm install
|
|
|
|
|
|
|
|
|
|
- name: Lint
|
|
|
|
|
run: npm run format-check
|
|
|
|
|
- name: Lint
|
|
|
|
|
run: npm run format-check
|
|
|
|
|
|
|
|
|
|
- name: npm test
|
|
|
|
|
run: npm test
|
|
|
|
|
- name: npm test
|
|
|
|
|
run: npm test
|
|
|
|
|
|
|
|
|
|
- name: audit packages
|
|
|
|
|
run: npm audit --audit-level=high
|
|
|
|
|
if: matrix.operating-system == 'ubuntu-latest'
|
|
|
|
|
- name: audit packages
|
|
|
|
|
run: npm audit --audit-level=high
|
|
|
|
|
if: matrix.operating-system == 'ubuntu-latest'
|
|
|
|
|