Skip to content

Commit 93e28d2

Browse files
committed
Switch CI to GitHub Actions
1 parent 7afe4e7 commit 93e28d2

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

.circleci/config.yml

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

github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
on: [push]
3+
4+
jobs:
5+
test:
6+
name: Test
7+
runs-on: ubuntu-16.04
8+
steps:
9+
- uses: actions/checkout@v1
10+
11+
- name: Get yarn cache directory path
12+
id: yarn-cache-dir-path
13+
run: echo "::set-output name=dir::$(yarn cache dir)"
14+
15+
- uses: actions/cache@v1
16+
id: yarn-cache
17+
with:
18+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
19+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
20+
restore-keys: |
21+
${{ runner.os }}-yarn-
22+
23+
- name: Install Dependencies
24+
run: yarn install --frozen-lockfile
25+
26+
- name: Unit Tests
27+
run: yarn test --watchAll=false

0 commit comments

Comments
 (0)