Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

add action for code validation #107

Merged
merged 3 commits into from
Oct 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/validating.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: validate
on: [push, pull_request]
jobs:
run-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm i
- run: npm run test
run-jshint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm i
- run: npm run jshint