Skip to content

Commit 9b9c22a

Browse files
authored
test: try fixing running test inside new container image
1 parent 6bcf88d commit 9b9c22a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/puppeteer-container.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131

3232
- name: Test run
3333
run: |
34+
echo $(pwd)
35+
echo $GITHUB_WORKSPACE
36+
mkdir node_modules
37+
chmod 777 node_modules
3438
podman run --rm --init -v $(pwd):/app -w /app --userns=keep-id $IMAGE_NAME npm install
3539
podman run --rm --init -v $(pwd):/app -w /app --userns=keep-id $IMAGE_NAME npm run puppeteer
3640
podman run --rm --init -v $(pwd):/app -w /app --userns=keep-id $IMAGE_NAME xvfb-run npm test

0 commit comments

Comments
 (0)