Browse Source

add workflow (#46)

* Create ci.yml
master
g2384 3 years ago
committed by GitHub
parent
commit
4c07847961
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      .github/workflows/ci.yml

+ 18
- 0
.github/workflows/ci.yml View File

@ -0,0 +1,18 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test using Node.js
uses: actions/setup-node@v1
with:
node-version: '12'
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
env:
CI: true

Loading…
Cancel
Save