diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..36cc755 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Node.js CI + +on: push + +jobs: + bench: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 + - run: npm clean-install + - run: npm run bench + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 + - run: npm clean-install + - run: npm run test + - run: npm run coverage diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 84215da..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: node_js -node_js: - - '12' - - '10' - - '8' -env: - - TEST_SUITE=test - - TEST_SUITE=bench -script: npm run-script $TEST_SUITE -after_success: npm run coverage -notifications: - email: - on_success: never diff --git a/README.md b/README.md index 40a3826..7c17b49 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ > A JavaScript vanity address generator -[![Build Status](https://travis-ci.com/lukechilds/vainjs.svg?branch=master)](https://travis-ci.com/lukechilds/vainjs) [![Coverage Status](https://coveralls.io/repos/github/lukechilds/vainjs/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/vainjs?branch=master) [![npm](https://img.shields.io/npm/v/vainjs.svg)](https://www.npmjs.com/package/vainjs)