From 56b835074a0e17c6200ea30bb856daddaeba3024 Mon Sep 17 00:00:00 2001 From: April Sylph Date: Thu, 19 Nov 2020 20:38:03 +0000 Subject: [PATCH] use GitHub Actions for CI (#2009) --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ .travis.yml | 10 ---------- 2 files changed, 26 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..f9cbbf945 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup Node.js environment + uses: actions/setup-node@v2.1.2 + with: + node-version: 14 + + - name: Install dependencies + run: npm ci + + - name: Run tests + run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 729184770..000000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: node_js -node_js: - - 12 -before_install: - - npm install -g npm@latest - - npm install -g gulp-cli -install: - - npm ci -script: - - npm test