Skip to content

Commit 121efeb

Browse files
authored
build(dev-deps): bump electron-mocha and mocha to clear audit (#349)
1 parent eb9c890 commit 121efeb

File tree

3 files changed

+145
-220
lines changed

3 files changed

+145
-220
lines changed

.github/workflows/test.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,12 @@ jobs:
2020
- '20.10'
2121
- '18.18'
2222
- '16.20'
23-
- '14.16'
2423
os:
2524
- macos-latest
2625
- ubuntu-22.04
2726
- windows-latest
2827
runs-on: "${{ matrix.os }}"
2928
steps:
30-
- name: Install Rosetta
31-
if: ${{ matrix.os == 'macos-latest' && matrix.node-version == '14.16' }}
32-
run: /usr/sbin/softwareupdate --install-rosetta --agree-to-license
3329
- name: Install Linux Dependencies
3430
if: ${{ matrix.os == 'ubuntu-22.04' }}
3531
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y libasound2 libgtk-3-0 libnss3 libxss1 libxtst6 xvfb libgbm-dev
@@ -40,12 +36,7 @@ jobs:
4036
with:
4137
node-version: "${{ matrix.node-version }}"
4238
cache: 'yarn'
43-
architecture: ${{ matrix.os == 'macos-latest' && matrix.node-version == '14.16' && 'x64' || env.RUNNER_ARCH }}
44-
- name: Install (Node.js v16+)
45-
if : ${{ matrix.node-version != '14.16' }}
39+
- name: Install dependencies
4640
run: yarn install --frozen-lockfile
47-
- name: Install (Node.js < v16)
48-
if : ${{ matrix.node-version == '14.16' }}
49-
run: yarn install --frozen-lockfile --ignore-engines
5041
- name: Test
5142
run: yarn test

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@types/minimatch": "^3.0.5",
4646
"@types/node": "^12.0.0",
4747
"electron": "^22.0.0",
48-
"electron-mocha": "^11.0.2",
48+
"electron-mocha": "^13.0.1",
4949
"lodash": "^4.17.15",
5050
"mocha": "^10.1.0",
5151
"prettier": "^3.3.3",

0 commit comments

Comments
 (0)