File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed
Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -10,35 +10,12 @@ jobs:
1010 steps :
1111 - uses : actions/checkout@v4
1212
13- - uses : pnpm/action-setup@v4
14-
1513 - uses : actions/setup-node@v4
1614 with :
1715 node-version : 20
18- cache : pnpm
19-
20- - name : Install dependencies
21- run : pnpm install --frozen-lockfile
22-
23- - name : Build heroshot
24- run : pnpm build
25-
26- - name : Build editor
27- run : pnpm build:editor
28-
29- - name : Cache Playwright browsers
30- uses : actions/cache@v4
31- id : playwright-cache
32- with :
33- path : ~/.cache/ms-playwright
34- key : v1-playwright-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
35-
36- - name : Install Playwright browsers
37- if : steps.playwright-cache.outputs.cache-hit != 'true'
38- run : pnpm exec playwright install chromium
3916
4017 - name : Run heroshot
41- run : node ../dist/cli/cli.js
18+ run : npx heroshot
4219 working-directory : docs
4320 env :
4421 HEROSHOT_SESSION_KEY : ${{ secrets.HEROSHOT_SESSION_KEY }}
You can’t perform that action at this time.
0 commit comments