Skip to content

Commit 99d248f

Browse files
committed
ci: add ci workflow
1 parent fab29df commit 99d248f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
17+
- run: corepack enable
18+
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
19+
with:
20+
node-version: 20
21+
cache: "pnpm"
22+
23+
- name: Install dependencies
24+
run: pnpm install --no-frozen-lockfile
25+
26+
- name: Typecheck
27+
run: pnpm typecheck
28+
29+
- name: Build
30+
run: pnpm build
31+
32+
- name: lint
33+
run: pnpm lint

0 commit comments

Comments
 (0)