Skip to content

Commit

Permalink
this works locally
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed May 15, 2023
1 parent 58c27bd commit 9e856bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
- run: npm ci
- run: npm run build -- -f
- run: npm run test:coverage && npm run test:visual:coverage && npm run test:jest:coverage
- run: npm run coverage:report
- run: npm run coverage:merge && npm run coverage:report
- uses: ShaMan123/lcov-reporter-action@v1.1.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@
"sandbox": "npm run sandboxscript -- sandbox",
"test:unit-browser": "npm run test -- -s unit -p 8080 -l -c chrome firefox",
"test:visual-browser": "npm run test -- -s visual -p 8081 -l -c chrome firefox",
"test:coverage": "nyc --silent qunit test/node_test_setup.js test/lib test/unit",
"test:visual:coverage": "nyc --silent --no-clean qunit test/node_test_setup.js test/lib test/visual",
"test:jest:coverage": "jest --coverage=true --coverageDirectory=./.nyc_output",
"test:coverage": "nyc --silent --temp-dir=.temp_coverage qunit test/node_test_setup.js test/lib test/unit",
"test:visual:coverage": "nyc --silent --temp-dir=.temp_coverage --no-clean qunit test/node_test_setup.js test/lib test/visual",
"test:jest:coverage": "jest --coverage=true --coverageDirectory=./.temp_coverage",
"coverage:merge": "nyc merge .temp_coverage .nyc_output/merged-coverage.json",
"coverage:report": "nyc report --reporter=lcov --reporter=text",
"lint": "eslint --config .eslintrc.js src",
"lint_tests": "eslint test/unit --config .eslintrc_tests && eslint test/visual --config .eslintrc_tests",
Expand Down

0 comments on commit 9e856bc

Please sign in to comment.