Skip to content

Commit 6972f38

Browse files
ci: use github actions
1 parent e3e5023 commit 6972f38

File tree

2 files changed

+27
-33
lines changed

2 files changed

+27
-33
lines changed

.github/workflows/ci.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches: [ main ]
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Use latest Node.js
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: 'latest'
18+
cache: 'yarn'
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Run linters
24+
run: yarn lint
25+
26+
- name: Run tests
27+
run: yarn test --verbose

.travis.yml

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

0 commit comments

Comments
 (0)