Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit ee4f51f

Browse files
committed
chore(ci): use github actions (#408)
1 parent 4233f83 commit ee4f51f

File tree

2 files changed

+41
-22
lines changed

2 files changed

+41
-22
lines changed

Diff for: .circleci/config.yml

-22
This file was deleted.

Diff for: .github/workflows/ci.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
ci:
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
matrix:
17+
os: [ubuntu-latest, macos-latest, windows-latest]
18+
node: [10, 12]
19+
20+
steps:
21+
- uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node }}
24+
25+
- name: checkout
26+
uses: actions/checkout@master
27+
28+
- name: cache node_modules
29+
uses: actions/cache@v1
30+
with:
31+
path: node_modules
32+
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
33+
34+
- name: install
35+
run: yarn --check-files --frozen-lockfile --non-interactive
36+
37+
- name: lint
38+
run: yarn lint
39+
40+
- name: test
41+
run: yarn test

0 commit comments

Comments
 (0)