Create test.yml
This commit is contained in:
parent
50ebf7aa42
commit
6f20c656ba
22
.github/workflows/test.yml
vendored
Normal file
22
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: "Run Tests"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v2"
|
||||
|
||||
- name: "Setup NodeJS"
|
||||
uses: "actions/setup-node@v2.1.0"
|
||||
|
||||
- name: "Install Dependencies"
|
||||
run: "npm install"
|
||||
|
||||
- name: "Run Tests"
|
||||
run: "npm run test"
|
Loading…
Reference in New Issue
Block a user