Skip to content

Commit c78aaf7

Browse files
Copilotliuliu-dev
andcommitted
Fix CI: remove chromium devDep, update workflow to Node 20, update actions
Co-authored-by: liuliu-dev <6688812+liuliu-dev@users.noreply.github.com>
1 parent cd7cd06 commit c78aaf7

4 files changed

Lines changed: 4 additions & 21 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
permissions:
88
contents: read
99
steps:
10-
- uses: actions/checkout@v2
11-
- name: Use Node.js 12.x
12-
uses: actions/setup-node@v1
10+
- uses: actions/checkout@v4
11+
- name: Use Node.js 20.x
12+
uses: actions/setup-node@v4
1313
with:
14-
node-version: 12.x
14+
node-version: 20.x
1515
- name: npm install, build, and test
1616
run: |
1717
npm install

package-lock.json

Lines changed: 0 additions & 14 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
@@ -26,7 +26,6 @@
2626
"devDependencies": {
2727
"@github/prettier-config": "0.0.4",
2828
"chai": "^4.2.0",
29-
"chromium": "^3.0.3",
3029
"eslint": "^8.12.0",
3130
"eslint-plugin-github": "^4.0.0",
3231
"karma": "^6.3.14",

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)