Skip to content

Commit

Permalink
build(dev-deps): bump electron-mocha and mocha to clear audit (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Jan 15, 2025
1 parent eb9c890 commit 121efeb
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 220 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@ jobs:
- '20.10'
- '18.18'
- '16.20'
- '14.16'
os:
- macos-latest
- ubuntu-22.04
- windows-latest
runs-on: "${{ matrix.os }}"
steps:
- name: Install Rosetta
if: ${{ matrix.os == 'macos-latest' && matrix.node-version == '14.16' }}
run: /usr/sbin/softwareupdate --install-rosetta --agree-to-license
- name: Install Linux Dependencies
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y libasound2 libgtk-3-0 libnss3 libxss1 libxtst6 xvfb libgbm-dev
Expand All @@ -40,12 +36,7 @@ jobs:
with:
node-version: "${{ matrix.node-version }}"
cache: 'yarn'
architecture: ${{ matrix.os == 'macos-latest' && matrix.node-version == '14.16' && 'x64' || env.RUNNER_ARCH }}
- name: Install (Node.js v16+)
if : ${{ matrix.node-version != '14.16' }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install (Node.js < v16)
if : ${{ matrix.node-version == '14.16' }}
run: yarn install --frozen-lockfile --ignore-engines
- name: Test
run: yarn test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/minimatch": "^3.0.5",
"@types/node": "^12.0.0",
"electron": "^22.0.0",
"electron-mocha": "^11.0.2",
"electron-mocha": "^13.0.1",
"lodash": "^4.17.15",
"mocha": "^10.1.0",
"prettier": "^3.3.3",
Expand Down
Loading

0 comments on commit 121efeb

Please sign in to comment.