File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 - name : Install dependencies
1919 run : npm ci --prefer-offline
2020
21- - name : Lint JavaScript
21+ - name : Run ESLint
2222 run : npm run lint
2323
2424 - name : Type check
@@ -27,24 +27,21 @@ jobs:
2727 - name : Run server test
2828 run : npm run test:server
2929
30+ - name : Generate coverage report
31+ run : |
32+ mkdir -p coverage
33+ npx nyc report --reporter=text-lcov > coverage/lcov.info
34+
35+ - name : Codecov
36+ uses : codecov/codecov-action@v3
37+
3038 - name : Run module tests
3139 run : npm run test:esm
3240
33- - name : Run server test
34- run : npm run test:server
35-
3641 - name : Run client test
3742 uses : GabrielBB/xvfb-action@v1
3843 with :
3944 run : npm run test:client
4045
41- - name : Build bundle
46+ - name : Build artifacts
4247 run : npm run build
43-
44- - name : Generate coverage report
45- run : |
46- mkdir -p coverage
47- npx nyc report --reporter=text-lcov > coverage/lcov.info
48-
49- - name : Codecov
50- uses : codecov/codecov-action@v3
You can’t perform that action at this time.
0 commit comments