Skip to content

Commit 02a2996

Browse files
committed
ci: add tests workflow
1 parent 1c9cd0c commit 02a2996

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
name: Run tests
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v2
12+
13+
- name: Install Node
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: 22
17+
18+
- name: Install deps
19+
run: pnpm i --frozen-lockfile
20+
21+
- name: Build
22+
run: yarn run build
23+
24+
- name: Run ESLint & Prettier
25+
run: yarn run lint

0 commit comments

Comments
 (0)