Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
node-version: 20.x
cache: 'yarn'
- name: Install
run: yarn install --frozen-lockfile
run: yarn install --immutable
- uses: continuousauth/action@4e8a2573eeb706f6d7300d6a9f3ca6322740b72d # v1.0.5
timeout-minutes: 60
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: '18.20'
node-version: '22.x'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Install Electron
run: yarn add "electron@${{ matrix.electron-version }}"
run: yarn add "electron@${{ matrix.electron-version }}" -P
- name: Build
run: yarn tsc
- name: Test (Electron 12)
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
dist/
test-results/
.yarn/install-state.gz
942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.10.3.cjs

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
enableScripts: false

nodeLinker: node-modules

npmMinimalAgeGate: 10080

npmPreapprovedPackages:
- "@electron/*"
- electron

yarnPath: .yarn/releases/yarn-4.10.3.cjs
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"chai-as-promised": "^7.1.1",
"dirty-chai": "^2.0.1",
"electron": "35.x",
"mocha": "^10.8.2",
"mocha": "^11.7.4",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old version of Mocha was failing the Socket check.

"mocha-junit-reporter": "^1.23.3",
"mocha-multi-reporters": "^1.1.7",
"ts-node": "^8.10.2",
"typescript": "^4.1.3"
},
"scripts": {
"prepare": "tsc",
"prepack": "tsc",
"test": "electron test --extension=ts --require=ts-node/register --exit --js-flags=--expose_gc",
"test:ci": "yarn test --reporter=mocha-multi-reporters --reporter-options=configFile=.github/workflows/mocha-reporter-config.json"
},
Expand All @@ -42,5 +42,11 @@
"types": "index.d.ts",
"publishConfig": {
"provenance": true
},
"packageManager": "[email protected]+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f",
"dependenciesMeta": {
"electron": {
"built": true
}
}
}
Loading