Browse Source

Migrate CI to Actions

master
Luke Childs 3 months ago
parent
commit
4de87c4061
  1. 24
      .github/workflows/ci.yml
  2. 13
      .travis.yml
  3. 1
      README.md

24
.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

13
.travis.yml

@ -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

1
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)

Loading…
Cancel
Save