|
@@ -107,9 +107,13 @@ jobs:
|
|
|
needs: [build-prod]
|
|
needs: [build-prod]
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
+ strategy:
|
|
|
|
|
+ matrix:
|
|
|
|
|
+ mongodb-version: ['6.0', '8.0']
|
|
|
|
|
+
|
|
|
services:
|
|
services:
|
|
|
mongodb:
|
|
mongodb:
|
|
|
- image: mongo:8.0
|
|
|
|
|
|
|
+ image: mongo:${{ matrix.mongodb-version }}
|
|
|
ports:
|
|
ports:
|
|
|
- 27017/tcp
|
|
- 27017/tcp
|
|
|
elasticsearch:
|
|
elasticsearch:
|
|
@@ -173,8 +177,6 @@ jobs:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
container:
|
|
container:
|
|
|
- # Match the Playwright version
|
|
|
|
|
- # https://github.com/microsoft/playwright/issues/20010
|
|
|
|
|
image: mcr.microsoft.com/playwright:v1.49.1-jammy
|
|
image: mcr.microsoft.com/playwright:v1.49.1-jammy
|
|
|
|
|
|
|
|
strategy:
|
|
strategy:
|
|
@@ -182,10 +184,11 @@ jobs:
|
|
|
matrix:
|
|
matrix:
|
|
|
browser: [chromium, firefox, webkit]
|
|
browser: [chromium, firefox, webkit]
|
|
|
shard: [1/2, 2/2]
|
|
shard: [1/2, 2/2]
|
|
|
|
|
+ mongodb-version: ['6.0', '8.0']
|
|
|
|
|
|
|
|
services:
|
|
services:
|
|
|
mongodb:
|
|
mongodb:
|
|
|
- image: mongo:8.0
|
|
|
|
|
|
|
+ image: mongo:${{ matrix.mongodb-version }}
|
|
|
ports:
|
|
ports:
|
|
|
- 27017/tcp
|
|
- 27017/tcp
|
|
|
elasticsearch:
|
|
elasticsearch:
|
|
@@ -279,7 +282,7 @@ jobs:
|
|
|
uses: actions/upload-artifact@v4
|
|
uses: actions/upload-artifact@v4
|
|
|
if: always()
|
|
if: always()
|
|
|
with:
|
|
with:
|
|
|
- name: blob-report-${{ matrix.browser }}-${{ steps.shard-id.outputs.shard_id }}
|
|
|
|
|
|
|
+ name: blob-report-${{ matrix.browser }}-mongo${{ matrix.mongodb-version }}-${{ steps.shard-id.outputs.shard_id }}
|
|
|
path: ./apps/app/blob-report
|
|
path: ./apps/app/blob-report
|
|
|
retention-days: 30
|
|
retention-days: 30
|
|
|
|
|
|
|
@@ -288,7 +291,7 @@ jobs:
|
|
|
if: failure()
|
|
if: failure()
|
|
|
with:
|
|
with:
|
|
|
type: ${{ job.status }}
|
|
type: ${{ job.status }}
|
|
|
- job_name: '*Node CI for growi - run-playwright*'
|
|
|
|
|
|
|
+ job_name: '*Node CI for growi - run-playwright (${{ matrix.browser }}, MongoDB ${{ matrix.mongodb-version }})*'
|
|
|
channel: '#ci'
|
|
channel: '#ci'
|
|
|
isCompactMode: true
|
|
isCompactMode: true
|
|
|
url: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
url: ${{ secrets.SLACK_WEBHOOK_URL }}
|