Skip to content

Commit 5b53150

Browse files
Move to GH Actions (#496)
1 parent e6161fc commit 5b53150

File tree

2 files changed

+31
-33
lines changed

2 files changed

+31
-33
lines changed

.circleci/config.yml

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

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
3+
on: push
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/[email protected]
12+
13+
- name: Setup node.js
14+
uses: actions/[email protected]
15+
with:
16+
node-version: '14.18.2'
17+
18+
- name: Restore cache
19+
uses: actions/[email protected]
20+
with:
21+
path: ~/.cache/yarn
22+
key: yarn-node-modules-v1-${{ hashFiles('yarn.lock') }}
23+
24+
- name: Install dependencies
25+
run: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
26+
27+
- name: Run tests
28+
run: yarn test:ci
29+
30+
- name: Upload code coverage report
31+
run: ./node_modules/.bin/codecov

0 commit comments

Comments
 (0)