Skip to content

Commit

Permalink
Adding Electron 32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Sep 26, 2024
1 parent 2ea7703 commit a030e75
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ on:
build-version:
description: 'Electron version to build'
required: true
default: '31.0.0'
default: '29.0.0'
type: choice
options:
- 29.0.0
- 30.0.0
- 31.0.0
- 32.0.0
# test-version:
# description: 'Electron version to test build'
# required: true
Expand Down Expand Up @@ -55,6 +56,8 @@ jobs:
echo "test-version=30.5.1" >> $GITHUB_OUTPUT
elif [[ ${{ inputs.build-version }} == '31.0.0' ]]; then
echo "test-version=31.6.0" >> $GITHUB_OUTPUT
elif [[ ${{ inputs.build-version }} == '32.0.0' ]]; then
echo "test-version=32.1.2" >> $GITHUB_OUTPUT
fi
# else
# core.setFailed("Unable to resolve Electron version for testing")
Expand Down
10 changes: 4 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"edge-cs": "npm:@agracio/edge-cs@^1.3.7",
"follow-redirects": "^1.15.9",
"nan": "^2.20.0"
"nan": "git://github.com/oc-soft/npm-nan"
},
"devDependencies": {
"electron": "=31.6.0",
Expand Down
6 changes: 0 additions & 6 deletions tools/mergeTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ merge.merge(options).then(report => {
marge.create(report, margeOptions).then(() =>
{
console.log(`Mochawesome report created: ${margeOptions.reportDir}/${margeOptions.reportFilename}`)
let stats = {
passing: report.stats.passes,
skipped: report.stats.pending,
failures: report.stats.failures
};
console.log(JSON.stringify(stats));
}
);
})

0 comments on commit a030e75

Please sign in to comment.