From 145cdbe238d830215fc56b5958def5a4b6af5740 Mon Sep 17 00:00:00 2001 From: Thomas Hunter II Date: Thu, 12 Nov 2020 22:05:32 -0800 Subject: [PATCH] replacing travis with github actions --- .github/workflows/node.js.yml | 5 ++--- .travis.yml | 9 --------- package.json | 3 +++ 3 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 673bd33..2bf3ed5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [12.x, 14.x] steps: - uses: actions/checkout@v2 @@ -24,6 +24,5 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build --if-present + - run: npm install - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f7c9b8f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: - - node_js -node_js: - - 12 - - 14 -install: - - npm install -script: - - npm test diff --git a/package.json b/package.json index df2d8da..6fc141a 100644 --- a/package.json +++ b/package.json @@ -30,5 +30,8 @@ "homepage": "https://github.com/tlhunter/node-arpad", "devDependencies": { "tape": "^4.6.3" + }, + "engines": { + "node": ">=12.0.0" } }