Skip to content

Commit 841669d

Browse files
committed
add workflow to test and check the build
1 parent d836271 commit 841669d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: 22
14+
- name: Install dependencies
15+
run: npm install
16+
- name: Eslint
17+
run: npm run lint
18+
- name: Test
19+
run: npm run test
20+
- name: Compile and build
21+
run: npm run build

0 commit comments

Comments
 (0)