File tree 5 files changed +1333
-18
lines changed
5 files changed +1333
-18
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,21 @@ jobs:
24
24
- name : Install dependencies
25
25
run : npm install --ignore-scripts --no-audit --no-fund
26
26
- name : Lint JS
27
- run : npx --yes oxlint@latest -D perf
27
+ run : npx oxlint@latest -D perf
28
28
- name : Check types
29
29
run : npm run check
30
30
- name : Build package
31
31
run : npm run build
32
+ env :
33
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
32
34
- name : Lint package
33
- run : npx --yes publint
35
+ run : npx publint
36
+ - name : Run tests
37
+ run : npx c8 --reporter=lcov npm test
38
+ - name : Upload coverage reports to Codecov
39
+ uses : codecov/codecov-action@v4.0.1
40
+ with :
41
+ token : ${{ secrets.CODECOV_TOKEN }}
34
42
test :
35
43
name : Unit tests
36
44
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
1
node_modules
2
- dist
2
+ dist
3
+ coverage
You can’t perform that action at this time.
0 commit comments