From 91e86c978503cfd5a0f6bc4c44308ddda233d7d3 Mon Sep 17 00:00:00 2001 From: Tuan-Dat Tran Date: Mon, 23 Feb 2026 20:06:53 +0100 Subject: [PATCH] feat(ci): parallelize lighthouse and add artifact sharing --- .github/workflows/ci.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b589b38..7d749c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,9 +64,9 @@ jobs: - name: Upload build artifacts uses: actions/upload-artifact@v4 with: - name: dist-${{ matrix.node-version }} + name: dist path: dist/ - retention-days: 7 + retention-days: 1 backend: runs-on: ubuntu-latest @@ -96,6 +96,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Download build artifacts + uses: actions/download-artifact@v4 + with: + name: dist + path: dist/ + - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -116,6 +122,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Download build artifacts + uses: actions/download-artifact@v4 + with: + name: dist + path: dist/ + - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -147,6 +159,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Download build artifacts + uses: actions/download-artifact@v4 + with: + name: dist + path: dist/ + - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -169,7 +187,6 @@ jobs: lighthouse: runs-on: ubuntu-latest - needs: [frontend] steps: - name: Checkout