From 64981358b2e67761ead2e0880e7d37e17e887973 Mon Sep 17 00:00:00 2001 From: kakhaUrigashvili Date: Thu, 16 Apr 2020 16:08:45 -0700 Subject: [PATCH] chore: move unit test from travis ci to github actions (#129) chore: move unit test from travis ci to github actions --- .github/workflows/unit-test.yml | 22 ++++++++++++++++++++++ .travis.yml | 27 --------------------------- README.md | 2 +- 3 files changed, 23 insertions(+), 28 deletions(-) create mode 100644 .github/workflows/unit-test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml new file mode 100644 index 00000000..52bf1c08 --- /dev/null +++ b/.github/workflows/unit-test.yml @@ -0,0 +1,22 @@ +name: Unit Test + +on: [push] + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + node: [8, 10, 12] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - run: npm install + - run: npm run lint + - run: npm run test:report diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 102469eb..00000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -language: node_js - -node_js: - - node - - "8" - - "10" - -os: - - osx - - windows - - linux - -notifications: - email: - on_failure: always - on_success: never - -cache: - directories: - - node_modules - -install: - - npm install - -script: - - npm run lint - - npm run test:report diff --git a/README.md b/README.md index 847ba09f..a98dbd2f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

Alexa Skills Kit Command Line interface

- +