Skip to content

Commit

Permalink
chore(deps): update electron 19.1.8
Browse files Browse the repository at this point in the history
fix(test): shard test
  • Loading branch information
andelf committed Nov 30, 2022
1 parent c1bec2f commit ee14560
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,19 @@ jobs:
- name: Ensure static yarn.lock is up to date
run: git diff --exit-code static/yarn.lock

- name: Run Playwright test
run: xvfb-run -- yarn e2e-test
- name: Run Playwright test - 1/2
run: xvfb-run -- npx playwright test --reporter github --shard=1/2
env:
LOGSEQ_CI: true
DEBUG: "pw:api"
RELEASE: true # skip dev only test

- name: Run Playwright test - 2/2
run: xvfb-run -- npx playwright test --reporter github --shard=2/2
env:
LOGSEQ_CI: true
DEBUG: "pw:api"
RELEASE: true # skip dev only test

- name: Save test artifacts
if: ${{ failure() }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"d3-force": "3.0.0",
"diff": "5.0.0",
"dompurify": "2.4.0",
"electron": "19.0.12",
"electron": "19.1.8",
"electron-dl": "3.3.0",
"fs": "0.0.1-security",
"fs-extra": "9.1.0",
Expand Down
8 changes: 4 additions & 4 deletions resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"electron:make": "electron-forge make",
"electron:make-macos-arm64": "electron-forge make --platform=darwin --arch=arm64",
"electron:publish:github": "electron-forge publish",
"rebuild:better-sqlite3": "electron-rebuild -v 19.0.12 -f -w better-sqlite3",
"rebuild:all": "electron-rebuild -v 19.0.12 -f",
"rebuild:better-sqlite3": "electron-rebuild -v 19.1.8 -f -w better-sqlite3",
"rebuild:all": "electron-rebuild -v 19.1.8 -f",
"postinstall": "install-app-deps"
},
"config": {
Expand Down Expand Up @@ -49,13 +49,13 @@
"@electron-forge/maker-rpm": "^6.0.0-beta.57",
"@electron-forge/maker-squirrel": "^6.0.0-beta.57",
"@electron-forge/maker-zip": "^6.0.0-beta.57",
"electron": "19.0.12",
"electron": "19.1.8",
"electron-builder": "^22.11.7",
"electron-forge-maker-appimage": "https://github.com/logseq/electron-forge-maker-appimage.git",
"electron-rebuild": "3.2.5"
},
"resolutions": {
"**/electron": "19.0.12",
"**/electron": "19.1.8",
"**/node-gyp": "9.0.0"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2514,10 +2514,10 @@ electron-to-chromium@^1.4.251:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592"
integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==

electron@19.0.12:
version "19.0.12"
resolved "https://registry.yarnpkg.com/electron/-/electron-19.0.12.tgz#73d11cc2a3e4dbcd61fdc1c39561e7a7911046e9"
integrity sha512-GOvG0t2NCeJYIfmC3g/dnEAQ71k3nQDbRVqQhpi2YbsYMury0asGJwqnVAv2uZQEwCwSx4XOwOQARTFEG/msWw==
electron@19.1.8:
version "19.1.8"
resolved "https://registry.yarnpkg.com/electron/-/electron-19.1.8.tgz#3ce19c270ca86d05bbf0df5ceeaea2d23edc7083"
integrity sha512-UfPQdFjgKI0xCm1V5sV3iAVOs0kCwAE91xWzV5tI7ij14yOkxTdXp9BqTzFaSbQYLYxn6q1BUUe1nlzjJjzAnw==
dependencies:
"@electron/get" "^1.14.1"
"@types/node" "^16.11.26"
Expand Down

0 comments on commit ee14560

Please sign in to comment.