Skip to content

Commit a585540

Browse files
committed
Add github workflow to run CI
1 parent 68095f8 commit a585540

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request: {}
8+
9+
concurrency:
10+
group: ci-${{ github.head_ref || github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
test:
15+
name: "Tests"
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 10
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Install Node
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 14.x
25+
cache: yarn
26+
- name: Install Dependencies
27+
run: yarn install --frozen-lockfile
28+
- name: Run Tests
29+
run: yarn test
30+
31+

0 commit comments

Comments
 (0)