Skip to content

Commit 1ff0675

Browse files
committed
Migrate from Travis CI to Github Actions
1 parent 6242c87 commit 1ff0675

File tree

2 files changed

+62
-22
lines changed

2 files changed

+62
-22
lines changed

.github/workflows/ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
branches:
7+
- master
8+
name: Continuous Integration
9+
10+
jobs:
11+
lint:
12+
name: Lint
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Install Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 14.x
21+
- run: npm install
22+
- name: Linting
23+
run: npm run lint
24+
compile:
25+
name: Compile
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v2
30+
- name: Install Node.js
31+
uses: actions/setup-node@v1
32+
with:
33+
node-version: 14.x
34+
- run: npm install
35+
- name: Compiling
36+
run: npm run compile
37+
unit:
38+
name: Unit Tests
39+
runs-on: ubuntu-latest
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v2
43+
- name: Install Node.js
44+
uses: actions/setup-node@v1
45+
with:
46+
node-version: 14.x
47+
- run: npm install
48+
- run: npm run unit
49+
e2e:
50+
name: E2E Tests
51+
runs-on: ubuntu-latest
52+
steps:
53+
- name: Checkout
54+
uses: actions/checkout@v2
55+
- name: Install Node.js
56+
uses: actions/setup-node@v1
57+
with:
58+
node-version: 14.x
59+
- run: npm install
60+
- run: npm install
61+
working-directory: ./e2e
62+
- run: npm run e2e

.travis.yml

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

0 commit comments

Comments
 (0)