Skip to content

Commit 3210d95

Browse files
committed
add test on pr / pull
1 parent b1aba30 commit 3210d95

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: 18
14+
- name: Build and Test
15+
run: npm i && npm run build && npm run test
16+
- name: Upload coverage reports to Codecov
17+
uses: codecov/codecov-action@v3
18+
env:
19+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)