Skip to content

Commit

Permalink
test: try fixing running test inside new container image
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwayakchih authored Jan 16, 2025
1 parent 6bcf88d commit 9b9c22a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/puppeteer-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:

- name: Test run
run: |
echo $(pwd)
echo $GITHUB_WORKSPACE
mkdir node_modules
chmod 777 node_modules
podman run --rm --init -v $(pwd):/app -w /app --userns=keep-id $IMAGE_NAME npm install
podman run --rm --init -v $(pwd):/app -w /app --userns=keep-id $IMAGE_NAME npm run puppeteer
podman run --rm --init -v $(pwd):/app -w /app --userns=keep-id $IMAGE_NAME xvfb-run npm test
Expand Down

0 comments on commit 9b9c22a

Please sign in to comment.