Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add npm audit
  • Loading branch information
macrisguncay committed Mar 21, 2020
commit 42d4fa48b1bcb366394e6fab6107d5607840cf28
11 changes: 4 additions & 7 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,20 @@ on:
jobs:
build:

runs-on: macos-latest

strategy:
matrix:
node-version: [12.x]
runs-on: ubuntu-latest

steps:
- name: Clone and checkout branch
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- name: Set up Node.js version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: '12.x'
- name: Install dependencies
run: npm install
- run: npm run build --if-present
- name: Run the test
run: npm test
- run: npm audit
env:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we include npm run audit as well for checking security vulnerabilities?

CI: true