Skip to content

Commit 89e7866

Browse files
authored
Merge pull request #623 from processing/gh-actions-ci
Migrate to GitHub Actions for CI
2 parents a14a134 + c7451b1 commit 89e7866

File tree

3 files changed

+32
-9
lines changed

3 files changed

+32
-9
lines changed

.github/workflows/ci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

4-
name: Node.js CI
4+
name: Linting
55

66
on:
77
push:
@@ -10,7 +10,7 @@ on:
1010
branches: [ main ]
1111

1212
jobs:
13-
build:
13+
lint:
1414

1515
runs-on: ubuntu-latest
1616

.github/workflows/ci-test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Testing
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [10.x, 12.x]
15+
16+
17+
steps:
18+
- uses: actions/checkout@v1
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- name: Get node modules
24+
run: npm ci
25+
env:
26+
CI: true
27+
- name: Build
28+
run: npm run build
29+
env:
30+
CI: true

.travis.yml

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

0 commit comments

Comments
 (0)