Skip to content

Commit f09ca18

Browse files
Copilotliuliu-dev
andcommitted
Fix CI: remove chromium npm package and use system Chrome
Co-authored-by: liuliu-dev <6688812+liuliu-dev@users.noreply.github.com>
1 parent 149c261 commit f09ca18

4 files changed

Lines changed: 1 addition & 12 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ jobs:
2525
npm test
2626
env:
2727
CI: true
28+
CHROME_BIN: google-chrome

package-lock.json

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"devDependencies": {
3636
"@github/prettier-config": "0.0.4",
3737
"chai": "^4.3.4",
38-
"chromium": "^3.0.3",
3938
"eslint": "^8.0.1",
4039
"eslint-plugin-github": "^4.10.2",
4140
"karma": "^6.3.2",

test/karma.config.cjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
process.env.CHROME_BIN = require('chromium').path
2-
31
module.exports = function (config) {
42
config.set({
53
frameworks: ['mocha', 'chai'],

0 commit comments

Comments
 (0)