From 309c3dc729d655d700d247498f6b72db905d6351 Mon Sep 17 00:00:00 2001 From: kimamula Date: Wed, 2 Dec 2020 17:04:55 +0900 Subject: [PATCH] Travis CI to GitHub Actions --- .github/workflows/test.yaml | 18 ++++++++++++++++++ .travis.yml | 3 --- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/test.yaml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..3849826 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,18 @@ +name: test +on: [push] +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x, 14.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d2442b6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: node_js -node_js: - - '10'