Skip to content

Commit 3080533

Browse files
chore: add ci job
1 parent 559e051 commit 3080533

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
lint-and-build:
8+
name: Lint, Type Check & Build
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
14+
15+
- name: Setup Node
16+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
17+
with:
18+
node-version-file: '.nvmrc'
19+
20+
- name: Enable corepack
21+
run: corepack enable
22+
23+
- name: Install dependencies
24+
run: yarn install --immutable
25+
26+
- name: Type check
27+
run: yarn typecheck
28+
29+
- name: Lint check
30+
run: yarn lint
31+
32+
- name: Build
33+
run: yarn prepare

0 commit comments

Comments
 (0)