Skip to content

Commit dfe06a8

Browse files
committed
tests fix
1 parent 0f2123c commit dfe06a8

11 files changed

+2434
-2404
lines changed

.github/workflows/main.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,20 @@ jobs:
1717
test:
1818
# The type of runner that the job will run on
1919
runs-on: ubuntu-latest
20-
20+
container:
21+
image: ghcr.io/puppeteer/puppeteer:19.7.2
22+
# image: lironavon/docker-puppeteer-container:16.10.0
23+
options: --cap-add=SYS_ADMIN --user 1001
2124
# Steps represent a sequence of tasks that will be executed as part of the job
2225
steps:
2326
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2427
- uses: actions/checkout@v3
25-
26-
- uses: actions/setup-node@v3
27-
with:
28-
node-version: 16
29-
28+
# - uses: actions/setup-node@v3
29+
# with:
30+
# node-version: 16
3031
- name: npm install
31-
run: cd .github/workflows && npm i
32+
run: npm i && cd .github/workflows && npm i && cd ../..
3233

3334
- name: Run Tests
35+
timeout-minutes: 2
3436
run: node .github/workflows/test.js

0 commit comments

Comments
 (0)