Skip to content
This repository was archived by the owner on Dec 31, 2022. It is now read-only.

Commit a4f2a8e

Browse files
committed
chore(ci): set up GitHub Actions workflow
This should completely replace our Travis, AppVeyor, and Azure Pipelines configs, since GH Actions can run across target OSes straightforwardly. Resolves #215
1 parent eec179d commit a4f2a8e

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
linting:
11+
name: Linting
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: 10.x
19+
20+
- run: yarn install --frozen-lockfile --non-interactive
21+
- run: yarn lint:js
22+
23+
tests:
24+
name: 'Tests: ${{ matrix.os }}'
25+
runs-on: '${{ matrix.os }}-latest'
26+
27+
strategy:
28+
matrix:
29+
os: [ubuntu, macOS, windows]
30+
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: actions/setup-node@v1
34+
with:
35+
node-version: 10.x
36+
37+
- run: yarn install --frozen-lockfile --non-interactive
38+
- run: yarn test

0 commit comments

Comments
 (0)