Skip to content

Commit bea0474

Browse files
authored
Merge pull request #245 from 0xcert/add-github-actions
Add GitHub Action, fixes #233
2 parents b2a4309 + 7333133 commit bea0474

File tree

5 files changed

+9657
-1444
lines changed

5 files changed

+9657
-1444
lines changed

.github/workflows/node.js.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on: push
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [12, 14] # https://nodejs.org/en/about/releases/
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: |
21+
npm ci
22+
npm run solhint && npm test

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ There are also test mocks that can be seen [here](src/tests/mocks). These are sp
2424

2525
## Requirements
2626

27-
* NodeJS 9.0+ is supported
27+
* NodeJS 12+ is supported
2828
* Windows, Linux or macOS
2929

3030
## Installation

0 commit comments

Comments
 (0)