Skip to content

Commit a3e52ca

Browse files
authored
ci: typecheck and lint (#34)
1 parent 2361e3c commit a3e52ca

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
test:
9+
name: Typecheck and Lint
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: pnpm/action-setup@v4
14+
with:
15+
version: 10
16+
run_install: false
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version-file: 'package.json'
20+
cache: pnpm
21+
- name: Install Dependencies
22+
run: pnpm install
23+
- name: Typecheck
24+
run: pnpm run typecheck
25+
- name: Lint
26+
run: pnpm run lint

0 commit comments

Comments
 (0)