Skip to content

Commit 399c24f

Browse files
committed
Workflows will probably make work flow. Someday.
1 parent 752c464 commit 399c24f

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
env:
1111
PYTHON_VERSION: "3.14"
1212
NODE_VERSION: "24"
13+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
1314

1415
jobs:
1516
backend:
@@ -101,15 +102,15 @@ jobs:
101102
- uses: actions/checkout@v6
102103

103104
- name: Set up Docker Buildx
104-
uses: docker/setup-buildx-action@v3
105+
uses: docker/setup-buildx-action@v4
105106

106107
- name: Prepare E2E directories
107108
run: |
108109
docker run --rm -v ${{ github.workspace }}/data-e2e:/data alpine sh -c 'rm -rf /data/*' 2>/dev/null || true
109110
mkdir -p playwright-report test-results
110111
111112
- name: Build & cache backend image
112-
uses: docker/build-push-action@v6
113+
uses: docker/build-push-action@v7
113114
with:
114115
context: ./backend
115116
tags: librislog-e2e-backend
@@ -121,7 +122,7 @@ jobs:
121122
GIT_SHA=unknown
122123
123124
- name: Build & cache frontend image
124-
uses: docker/build-push-action@v6
125+
uses: docker/build-push-action@v7
125126
with:
126127
context: ./frontend
127128
tags: librislog-e2e-frontend
@@ -134,7 +135,7 @@ jobs:
134135
PUBLIC_DEFAULT_LOCALE=en
135136
136137
- name: Build & cache test-runner image
137-
uses: docker/build-push-action@v6
138+
uses: docker/build-push-action@v7
138139
with:
139140
context: ./frontend
140141
file: frontend/Dockerfile.e2e
@@ -154,11 +155,12 @@ jobs:
154155
path: frontend/playwright-report/
155156

156157
- name: Upload test results
157-
if: always()
158+
if: failure()
158159
uses: actions/upload-artifact@v7
159160
with:
160161
name: test-results
161162
path: frontend/test-results/
163+
include-hidden-files: true
162164

163165
report:
164166
needs: [backend, cli, frontend, e2e]
@@ -171,6 +173,12 @@ jobs:
171173
- uses: actions/download-artifact@v8
172174
with:
173175
path: artifacts
176+
pattern: test-report-*
177+
178+
- uses: actions/download-artifact@v8
179+
with:
180+
path: artifacts
181+
pattern: playwright-report
174182

175183
- name: Initialize git for test reporter
176184
run: |

0 commit comments

Comments
 (0)