We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efae8c0 commit afce3bfCopy full SHA for afce3bf
.github/workflows/run_tests.yml
@@ -0,0 +1,32 @@
1
+name: Run Tests
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v3
16
17
+ - name: Set up Node.js
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version: 20
21
22
+ - name: Install dependencies
23
+ run: yarn install
24
25
+ - name: Run tests with coverage
26
+ run: yarn vitest run --coverage
27
28
+ # - name: Upload coverage to Codecov
29
+ # uses: codecov/codecov-action@v5
30
+ # with:
31
+ # files: coverage/coverage-final.json
32
+ # token: ${{ secrets.CODECOV_TOKEN }} # optional if public repo
0 commit comments