11name : ' CI'
22on :
33 push :
4- # ignore documentation-only changes
4+ branches-ignore :
5+ - gh-pages
56 paths-ignore :
67 - ' *.md'
78 pull_request :
9+ branches-ignore :
10+ - gh-pages
811 paths-ignore :
912 - ' *.md'
1013 workflow_dispatch : {}
@@ -160,38 +163,39 @@ jobs:
160163 path : ./react/reports/playwright/
161164
162165 # Mutation testing
163- stryker :
164- if : " github.ref == 'refs/heads/main'"
165- runs-on : ubuntu-latest
166- needs : [unit_tests]
167- strategy :
168- matrix :
169- node-version : [22.x]
170- steps :
171- - uses : actions/checkout@v4
172- - name : Use Node.js ${{ matrix.node-version }} (with cache)
173- uses : actions/setup-node@v4
174- with :
175- node-version : ${{ matrix.node-version }}
176- cache : ' npm'
177- cache-dependency-path : react/package-lock.json
178- - name : Install dependencies
179- run : npm install
180- working-directory : react
181- - name : Run Stryker tests
182- run : npx stryker run
183- working-directory : react
184- - name : Upload mutation reports
185- uses : actions/upload-artifact@v4
186- with :
187- name : reports-mutation
188- path : ./react/reports/mutation/
166+ # stryker:
167+ # if: "github.ref == 'refs/heads/main'"
168+ # runs-on: ubuntu-latest
169+ # needs: [unit_tests]
170+ # strategy:
171+ # matrix:
172+ # node-version: [22.x]
173+ # steps:
174+ # - uses: actions/checkout@v4
175+ # - name: Use Node.js ${{ matrix.node-version }} (with cache)
176+ # uses: actions/setup-node@v4
177+ # with:
178+ # node-version: ${{ matrix.node-version }}
179+ # cache: 'npm'
180+ # cache-dependency-path: react/package-lock.json
181+ # - name: Install dependencies
182+ # run: npm install
183+ # working-directory: react
184+ # - name: Run Stryker tests
185+ # run: npx stryker run
186+ # working-directory: react
187+ # - name: Upload mutation reports
188+ # uses: actions/upload-artifact@v4
189+ # with:
190+ # name: reports-mutation
191+ # path: ./react/reports/mutation/
189192
190193 # Deploy reports to GitHub Pages under /reports/
191194 deploy_reports :
192195 if : github.ref == 'refs/heads/main'
193196 runs-on : ubuntu-latest
194- needs : [stryker, e2e, unit_tests, duplication]
197+ # needs: [stryker, e2e, unit_tests, duplication]
198+ needs : [e2e, unit_tests, duplication]
195199 steps :
196200 - name : Checkout repository
197201 uses : actions/checkout@v4
@@ -202,11 +206,11 @@ jobs:
202206 with :
203207 name : reports-coverage
204208 path : reports/coverage
205- - name : Download mutation reports
206- uses : actions/download-artifact@v4
207- with :
208- name : reports-mutation
209- path : reports/mutation
209+ # - name: Download mutation reports
210+ # uses: actions/download-artifact@v4
211+ # with:
212+ # name: reports-mutation
213+ # path: reports/mutation
210214 - name : Download playwright reports
211215 uses : actions/download-artifact@v4
212216 with :
@@ -227,15 +231,13 @@ jobs:
227231 git checkout gh-pages || git checkout --orphan gh-pages
228232 - name : Copy reports to gh-pages
229233 run : |
234+ rm -rf reports
230235 mkdir -p reports
231- cp -r reports/coverage reports/
232- cp -r reports/mutation reports/
233- cp -r reports/playwright reports/
234- cp -r reports/duplication reports/
236+ cp -r reports/ reports/
235237 - name : Commit and push reports
236238 run : |
237239 git add reports/
238- git commit -m "Update reports [ci skip] " || echo "No changes to commit"
240+ git commit -m "Update reports" || echo "No changes to commit"
239241 git push origin gh-pages
240242 env :
241243 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments