Skip to content

Commit bd3cea7

Browse files
committed
Adds github actions for running CI
1 parent 0f0117a commit bd3cea7

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout branch
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 2
17+
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: '18.17.1'
21+
22+
- name: Install dependencies
23+
run: yarn --frozen-lockfile
24+
25+
- name: Lint
26+
run: yarn lint
27+
28+
- name: Test
29+
run: yarn test

0 commit comments

Comments
 (0)