Skip to content

Commit 4104085

Browse files
authored
ci: switch to github actions (#76)
1 parent 0c1877e commit 4104085

File tree

2 files changed

+37
-38
lines changed

2 files changed

+37
-38
lines changed

.circleci/config.yml

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

.github/workflows/ci.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: CI
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
build:
14+
name: Lint and test
15+
runs-on: ubuntu-latest
16+
env:
17+
CI: true
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
node-version: [18.x]
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Setup node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: yarn
29+
- name: yarn install
30+
run: yarn
31+
- name: Linting
32+
if: ${{ matrix.node-version == '18.x' }}
33+
run: yarn lint
34+
- name: Unittesting
35+
run: yarn jest
36+
- name: Coverage
37+
run: yarn codecov

0 commit comments

Comments
 (0)