@@ -10,7 +10,7 @@ permissions:
10
10
jobs :
11
11
e2e :
12
12
name : Run E2E test
13
- runs-on : ubuntu-latest
13
+ runs-on : namespace-profile-playwright
14
14
env :
15
15
# renovate: datasource=node-version depName=node
16
16
NODE_VERSION : 20
@@ -20,21 +20,43 @@ jobs:
20
20
working-directory : e2e-test
21
21
steps :
22
22
- name : Setup repo
23
- uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
23
+ uses : namespacelabs/nscloud-checkout-action@v5
24
+
25
+ - name : Setup npm cache
26
+ uses : namespacelabs/nscloud-cache-action@v1
27
+ with :
28
+ path : |
29
+ ~/.npm
30
+ ~/.cache/ms-playwright
31
+ ./node_modules
24
32
25
33
- uses : actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
26
34
with :
27
35
node-version : ' ${{env.NODE_VERSION}}'
28
- cache : ' npm'
29
- cache-dependency-path : e2e-test/package-lock.json
30
36
31
37
- name : Install playwright deps
32
38
run : |
33
39
npm ci
34
40
npx playwright install --with-deps
35
41
42
+ - name : list apt cache
43
+ run : |
44
+ ls -lah /etc/apt/apt.conf.d/
45
+ echo '-----'
46
+ ls -lah /var/cache/apt
47
+ echo '-----'
48
+ tree /var/cache/apt || echo 'treeless'
49
+
50
+ - name : Breakpoint if tests failed
51
+ uses : namespacelabs/breakpoint-action@v0
52
+ with :
53
+ duration : 10m
54
+ authorized-users : annervisser
55
+
36
56
- name : Run e2e tests
37
57
id : run-e2e-tests
58
+ env :
59
+ PW_WORKERS : ' 100%'
38
60
run : ../bin/e2e
39
61
40
62
- name : Output docker compose logs
@@ -103,7 +125,7 @@ jobs:
103
125
104
126
- name : Store HTML report as GitHub Artifact
105
127
if : ${{ !cancelled() }}
106
- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
128
+ uses : namespace- actions/upload-artifact@v0
107
129
with :
108
130
name : playwright-html-report
109
131
path : e2e-test/playwright-report
0 commit comments