Skip to content

Commit e25b222

Browse files
committed
ci: use github actions
1 parent 72ddafb commit e25b222

File tree

2 files changed

+27
-33
lines changed

2 files changed

+27
-33
lines changed

.circleci/config.yml

-33
This file was deleted.

.github/workflows/ci.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'ci'
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
jobs:
10+
unit-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Install pnpm
16+
uses: pnpm/action-setup@v2
17+
18+
- name: Set node version to 16
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: 16
22+
cache: 'pnpm'
23+
24+
- run: pnpm install
25+
26+
- name: Run unit tests
27+
run: pnpm run test

0 commit comments

Comments
 (0)