Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 456f369

Browse files
committed
Upgrade CI provider to use GH Actions in place of Travis
1 parent 2121d5a commit 456f369

File tree

6 files changed

+38
-39
lines changed

6 files changed

+38
-39
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
pull_request:
9+
types: [opened, reopened, synchronize]
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [10.x, 12.x, 13.x, 14.x]
16+
steps:
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
22+
- uses: actions/checkout@v1
23+
24+
- run: npm install
25+
- run: npm run test
26+
27+
- name: Upload coverage to Coveralls
28+
uses: coverallsapp/github-action@master
29+
with:
30+
github-token: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ethereumjs-wallet
22

33
[![NPM Package](https://img.shields.io/npm/v/ethereumjs-wallet.svg?style=flat-square)](https://www.npmjs.org/package/ethereumjs-wallet)
4-
[![Build Status](https://travis-ci.org/ethereumjs/ethereumjs-wallet.svg?branch=master)](https://travis-ci.org/ethereumjs/ethereumjs-wallet)
4+
[![Actions Status](https://github.com/ethereumjs/ethereumjs-wallet/workflows/Build/badge.svg)](https://github.com/ethereumjs/ethereumjs-wallet/actions)
55
[![Coverage Status](https://img.shields.io/coveralls/ethereumjs/ethereumjs-wallet.svg?style=flat-square)](https://coveralls.io/r/ethereumjs/ethereumjs-wallet)
66
[![Gitter](https://img.shields.io/gitter/room/ethereum/ethereumjs-lib.svg?style=flat-square)](https://gitter.im/ethereum/ethereumjs-lib) or #ethereumjs on freenode
77

package.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@
1212
"prepublishOnly": "npm run format && npm run tslint && npm run test",
1313
"docs:build": "typedoc --out docs --mode file --readme none --theme markdown --mdEngine github --excludeNotExported src",
1414
"coverage": "ethereumjs-config-coverage",
15-
"coveralls": "ethereumjs-config-coveralls",
1615
"format": "ethereumjs-config-format",
1716
"format:fix": "ethereumjs-config-format-fix",
1817
"lint": "ethereumjs-config-lint",
1918
"lint:fix": "ethereumjs-config-lint-fix",
20-
"pretest": "npm run build",
21-
"test": "nyc mocha ./test/**/*.ts",
19+
"test": "npm run build && nyc --reporter=lcov mocha ./test/**/*.ts && npm run test:browser",
2220
"tsc": "ethereumjs-config-tsc",
2321
"tslint": "ethereumjs-config-tslint",
2422
"tslint:fix": "ethereumjs-config-tslint-fix"
@@ -63,19 +61,18 @@
6361
"@types/lodash.zip": "^4.2.6",
6462
"@types/mocha": "^5.2.7",
6563
"@types/node": "^12.0.10",
66-
"coveralls": "^3.0.0",
6764
"ethers": "^4.0.33",
6865
"husky": "^2.1.0",
6966
"lodash.zip": "^4.2.0",
70-
"mocha": "^5.2.0",
71-
"nyc": "^14.1.1",
67+
"mocha": "^7.1.2",
68+
"nyc": "^15.0.1",
7269
"prettier": "^1.15.3",
7370
"source-map-support": "^0.5.12",
74-
"ts-node": "^8.3.0",
71+
"ts-node": "^8.9.1",
7572
"tslint": "^5.12.0",
76-
"typescript": "^3.2.2",
77-
"typestrict": "^1.0.2",
7873
"typedoc": "^0.14.2",
79-
"typedoc-plugin-markdown": "^1.2.0"
74+
"typedoc-plugin-markdown": "^1.2.0",
75+
"typescript": "^3.8.3",
76+
"typestrict": "^1.0.2"
8077
}
8178
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)