Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 15899f2

Browse files
authored
chore: fix CI workflows (#527)
* chore: tmp testing to see if changes in #517 break CI workflows, or if they're already broken * chore: attempt to fix ci runs see https://playwright.dev/docs/cli\#install-system-dependencies * fix: github workflow syntax * chore: ensure concurrency on branch name * chore: update actions * fix: don't fail-fast for matrix failures * chore: attempt to remove GabrielBB/xvfb-action some steps are showing the following failure on github: Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: GabrielBB/xvfb-action see https://github.com/SgtPooki/js-ipfs-examples/actions/runs/3245100955 * chore: remove gabriel/xvfb-action for good * chore: add xvfb-maybe to run-in-electron * chore: move xvfb-maybe to devDeps * fix: don't overwrite promises that are being awaited * chore(tmp): disable all but browser-service-worker tests * fix(browser-service-worker): move initial page.goto inside test * fix(browser-service-worker): increase test timeout * fix(test-util-ipfs-example.servers): stop instead of close * fix(test-util-ipfs-example.servers): allow server stop from tests remove waitForSelectors and ensure service worker response is done before checking for text debugging: query /view directly this removes the need for playwright navigating iframes and still utilizes the serviceWorker in the test * chore: cleanup browser-service-worker test * Revert "chore(tmp): disable all but browser-service-worker tests" This reverts commit 76a94cccc775e4ab6ac44c0303290701c423b79e. * chore: remove test-pr-workflows from push target
1 parent 8824d9c commit 15899f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515
"clean": "echo 'Nothing to clean...'",
1616
"start": "electron .",
1717
"serve": "npm run start",
18-
"test": "node test.mjs"
18+
"test": "xvfb-maybe node test.mjs"
1919
},
2020
"dependencies": {
2121
"ipfs-core": "^0.16.0"
2222
},
2323
"devDependencies": {
2424
"electron": "^20.1.1",
2525
"electron-rebuild": "^3.1.1",
26-
"test-util-ipfs-example": "^1.0.2"
26+
"test-util-ipfs-example": "^1.0.2",
27+
"xvfb-maybe": "^0.2.1"
2728
},
2829
"greenkeeper": {
2930
"ignore": [

0 commit comments

Comments
 (0)