Skip to content

Commit 48e3e8b

Browse files
committed
ci: replace Travis with GitHub Actions
To have consistency I'm moving the different CIs slowly to GitHub Actions. It works better with our permissioning models. Long term we'll add publishing to this as well
1 parent 4b50a67 commit 48e3e8b

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

.github/workflows/nodejs.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Node CI
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [macos-latest, windows-latest, ubuntu-latest]
11+
node-version: [10, 12, 14]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- name: npm install, build, and test
20+
run: |
21+
npm install
22+
npm run build --if-present
23+
npm run test
24+
env:
25+
CI: true
26+
NODE_ENV: test

.travis.yml

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

0 commit comments

Comments
 (0)