Skip to content

Commit b21ec7b

Browse files
author
Ryan Munro
committed
github action
1 parent 3e74fd5 commit b21ec7b

2 files changed

Lines changed: 32 additions & 4 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [10.x, 12.x]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm ci
28+
- run: npm run build --if-present
29+
- run: npm test
30+

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ language: python
22
dist: bionic
33
os:
44
- "linux"
5-
# - "windows"
65
env:
76
- NODE_VERSION="14"
87
- NODE_VERSION="13"
@@ -21,12 +20,11 @@ python:
2120
- "3.6"
2221
- "3.5"
2322
- "3.4"
24-
# - "3.3"
25-
# - "3.2"
2623
- "2.7"
27-
# - "2.6"
2824
jobs:
2925
include:
26+
# - @TODO PYTHON_VERSION="3.3"
27+
# - @TODO PYTHON_VERSION="3.2"
3028
- language: generic
3129
env: PYTHON_VERSION="2.6" NODE_VERSION="14"
3230
- language: generic

0 commit comments

Comments
 (0)