Skip to content

Commit d98ee49

Browse files
committed
chore: add test workflow
1 parent 876ded6 commit d98ee49

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: .github/workflows/test.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
lint:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
12+
- run: corepack enable
13+
- uses: actions/setup-node@v4
14+
with:
15+
cache: "pnpm"
16+
17+
- name: Install dependencies
18+
run: pnpm install
19+
20+
- name: Build
21+
run: pnpm build
22+
23+
- name: Test
24+
run: pnpm lint

0 commit comments

Comments
 (0)