File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change 9
9
playwright :
10
10
timeout-minutes : 7
11
11
runs-on : ubuntu-latest
12
+ container :
13
+ image : mcr.microsoft.com/playwright:v1.54.1-noble
14
+ options : --user 1001
12
15
env :
13
16
CONVERTKIT_API_SECRET : ${{ secrets.CONVERTKIT_API_SECRET }}
14
17
CONVERTKIT_WEBHOOK_SECRET : ${{ secrets.CONVERTKIT_WEBHOOK_SECRET }}
@@ -28,26 +31,11 @@ jobs:
28
31
- uses : actions/setup-node@v4
29
32
with :
30
33
node-version : lts/*
34
+ cache : ' pnpm'
31
35
32
- - name : Get pnpm store directory
33
- id : pnpm-cache
34
- run : |
35
- echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
36
-
37
- - name : Setup pnpm cache
38
- uses : actions/cache@v4
39
- with :
40
- path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
41
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42
- restore-keys : |
43
- ${{ runner.os }}-pnpm-store-
44
-
45
- - name : Install deps (with cache)
36
+ - name : Install deps
46
37
run : pnpm install
47
38
48
- - name : Install Playwright Browsers
49
- run : pnpm exec playwright install --with-deps
50
-
51
39
- name : Run Playwright tests
52
40
run : pnpm exec playwright test
53
41
You can’t perform that action at this time.
0 commit comments