Skip to content

Commit 5ccecbc

Browse files
chore: pr check workflow (#5371)
1 parent f2e75ce commit 5ccecbc

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/pr-check.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: PR Check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
name: Build and Type Check
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@v3
15+
16+
- uses: pnpm/action-setup@v4
17+
with:
18+
version: 9
19+
20+
- name: Setup Node.js environment
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 20.5
24+
cache: "pnpm"
25+
26+
- name: Install dependencies
27+
run: pnpm install --frozen-lockfile
28+
29+
- name: Build library
30+
run: pnpm build:lib
31+
32+
- name: Build d.ts files
33+
run: pnpm build:lib:dts

0 commit comments

Comments
 (0)