From aaa18e0e5e070b7dd5a4e637aa50884a7a679f6c Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Tue, 7 Apr 2020 00:24:17 +0800 Subject: [PATCH] Use GitHub Actions --- .github/workflows/test.yml | 15 +++++++++++++++ .travis.yml | 8 -------- 2 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..291f1d3 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index cdad71c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js - -node_js: node - -cache: - npm: true - -install: npm install