Use GitHub Actions

This commit is contained in:
Mimi 2020-04-07 00:24:17 +08:00
parent ebabc8643b
commit aaa18e0e5e
2 changed files with 15 additions and 8 deletions

15
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Test
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
- run: npm install
- run: npm test

View File

@ -1,8 +0,0 @@
language: node_js
node_js: node
cache:
npm: true
install: npm install