Skip to content

Commit bc69ac4

Browse files
committed
feat: add basic github actions
1 parent d197bf7 commit bc69ac4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/pull-request.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Pull Request Check
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Code
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: '20'
18+
19+
- name: Install Dependencies
20+
run: |
21+
corepack enable
22+
pnpm install
23+
24+
- name: TypeScript Check
25+
run: pnpm tsc --noEmit
26+
27+
- name: Biome Check
28+
run: pnpm biome check --apply ./src

0 commit comments

Comments
 (0)