Skip to content

Commit d35f1db

Browse files
committed
chore: Replace Travis-CI with GitHub Actions
1 parent 8253c24 commit d35f1db

File tree

2 files changed

+40
-13
lines changed

2 files changed

+40
-13
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Main CI Workflow
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
build-and-publish:
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node:
15+
- 12
16+
- 14
17+
- 16
18+
19+
os:
20+
- ubuntu-latest
21+
- windows-latest
22+
- macos-latest
23+
24+
steps:
25+
- name: Checkout code
26+
uses: actions/checkout@v2
27+
28+
- name: Setup Node.js environment
29+
uses: actions/[email protected]
30+
with:
31+
node-version: ${{ matrix.node }}
32+
33+
- name: Install prerequisites
34+
run: npm install
35+
36+
- name: Lint
37+
run: npm run lint
38+
39+
- name: Test
40+
run: npm run test

.travis.yml

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

0 commit comments

Comments
 (0)