Skip to content

Commit 944d827

Browse files
committed
tests fix
1 parent 0f2123c commit 944d827

11 files changed

+2435
-2405
lines changed

.github/workflows/main.yml

+10-8
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+
timeout-minutes: 2
21+
container:
22+
image: ghcr.io/puppeteer/puppeteer:19.7.2
23+
# image: lironavon/docker-puppeteer-container:16.10.0
24+
options: --cap-add=SYS_ADMIN --user 1001
2125
# Steps represent a sequence of tasks that will be executed as part of the job
2226
steps:
2327
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2428
- uses: actions/checkout@v3
25-
26-
- uses: actions/setup-node@v3
27-
with:
28-
node-version: 16
29-
30-
- name: npm install
31-
run: cd .github/workflows && npm i
29+
# - uses: actions/setup-node@v3
30+
# with:
31+
# node-version: 16
32+
- name: npm install & run tests
33+
run: npm i && cd .github/workflows && npm i && cd ../.. && node .github/workflows/test.js
3234

3335
- name: Run Tests
3436
run: node .github/workflows/test.js

0 commit comments

Comments
 (0)