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
Next Next commit
add git actions
  • Loading branch information
macrisguncay committed Mar 20, 2020
commit 40896fedf2cfd4c2f58aeb69b1923b28d8f130a5
29 changes: 29 additions & 0 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Node.js CI

on:
pull_request:
branches: [ master ]

jobs:
build:

runs-on: macos-latest

strategy:
matrix:
node-version: [12.x]

steps:
- name: Clone and checkout branch
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- run: npm run build --if-present
- name: Run the test
run: npm test
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