Skip to content

Commit e0cf1cf

Browse files
Fix GH actions & Increase ava timeout
Signed-off-by: Philip Peterson <philip-peterson@users.noreply.github.com>
1 parent 4dfd137 commit e0cf1cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
node-version: ${{ env.NODE_VERSION }}
3131
- name: Fix node-gyp and Python
32-
run: python3 -m pip install packaging setuptools
32+
run: python3 -m pip install packaging setuptools --break-system-packages || python3 -m pip install packaging setuptools
3333
- name: Get yarn cache directory path
3434
id: yarn-cache-dir-path
3535
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

test/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test.before(async () => {
3333
executablePath: pathToBinary
3434
});
3535
await app.firstWindow();
36-
await new Promise((resolve) => setTimeout(resolve, 5000));
36+
await new Promise((resolve) => setTimeout(resolve, 30000));
3737
});
3838

3939
test.after(async () => {

0 commit comments

Comments
 (0)