Skip to content

Commit 7bfac53

Browse files
authored
chore: add test workflow (#887)
* chore: add test workflow * fix: resolve suggestion * fix: suggestion
1 parent 876ded6 commit 7bfac53

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.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+
test:
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: ESLint
24+
run: pnpm lint

0 commit comments

Comments
 (0)