Skip to content

Commit

Permalink
chore: add chorme to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Mangabeira Gregio committed Feb 16, 2024
1 parent 350429d commit 8f1a97d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .github/actions/replay/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM node:iron-alpine

RUN npm install -g puppeteer @puppeteer/replay
RUN puppeteer browsers install chrome

COPY entrypoint.sh /entrypoint.sh
COPY puppeteer.config.js /puppeteer.config.js

ENTRYPOINT ["/entrypoint.sh"]

9 changes: 0 additions & 9 deletions .github/actions/replay/puppeteer.config.js

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/on_prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ jobs:
with:
fetch-depth: 0

- uses: browser-actions/setup-chrome@v1
id: setup-chrome

- name: Replay
uses: ./.github/actions/replay
env:
PUPPETEER_CACHE_DIR: /root/.cache/puppeteer
with:
args: user-flows

Expand Down

0 comments on commit 8f1a97d

Please sign in to comment.