Skip to content

Commit cbbc237

Browse files
committed
fix: use GitHub Actions for CI
1 parent ec39659 commit cbbc237

File tree

2 files changed

+28
-16
lines changed

2 files changed

+28
-16
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-16.04
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Setup Node
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: "16"
18+
cache: 'yarn'
19+
cache-dependency-path: '**/yarn.lock'
20+
21+
- name: Install dependencies
22+
run: yarn install --frozen-lockfile
23+
24+
- name: Build
25+
run: yarn build
26+
27+
- name: Run Tests
28+
run: yarn test

.travis.yml

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

0 commit comments

Comments
 (0)