From cd64ebc51888c62f68139b6eca9a779293a5ac1b Mon Sep 17 00:00:00 2001 From: mulahasanovic Date: Fri, 12 Dec 2025 17:11:58 +0100 Subject: [PATCH] fix(build): add cypress binary to the cache --- .github/workflows/build-unit-tests.yml | 8 +++++--- .github/workflows/generateDocs.yml | 8 +++++--- .github/workflows/npmpublish.yml | 8 +++++--- .github/workflows/server-tests.yml | 8 +++++--- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-unit-tests.yml b/.github/workflows/build-unit-tests.yml index 291ad13..5cd279d 100644 --- a/.github/workflows/build-unit-tests.yml +++ b/.github/workflows/build-unit-tests.yml @@ -21,12 +21,14 @@ jobs: with: node-version: ${{ matrix.node-version }} - # 2. Restore npm cache manually - - name: Restore npm cache + # 2. Restore npm and cypress cache manually + - name: Restore npm and cypress cache uses: actions/cache@v3 id: npm-cache with: - path: ~/.npm + path: | + ~/.npm + ~/.cypress/Cypress key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- diff --git a/.github/workflows/generateDocs.yml b/.github/workflows/generateDocs.yml index 7371365..1edff0f 100644 --- a/.github/workflows/generateDocs.yml +++ b/.github/workflows/generateDocs.yml @@ -23,12 +23,14 @@ jobs: node-version: ${{ matrix.node-version }} - # 2. Restore npm cache manually - - name: Restore npm cache + # 2. Restore npm and cypress cache manually + - name: Restore npm and cypress cache uses: actions/cache@v3 id: npm-cache with: - path: ~/.npm + path: | + ~/.npm + ~/.cypress/Cypress key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 1442df4..f32f2c2 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -23,12 +23,14 @@ jobs: with: node-version: ${{ matrix.node-version }} - # 2. Restore npm cache manually - - name: Restore npm cache + # 2. Restore npm and cypress cache manually + - name: Restore npm and cypress cache uses: actions/cache@v3 id: npm-cache with: - path: ~/.npm + path: | + ~/.npm + ~/.cypress/Cypress key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index 3907f38..2c39cf7 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -21,12 +21,14 @@ jobs: with: node-version: ${{ matrix.node-version }} - # 2. Restore npm cache manually - - name: Restore npm cache + # 2. Restore npm and cypress cache manually + - name: Restore npm and cypress cache uses: actions/cache@v3 id: npm-cache with: - path: ~/.npm + path: | + ~/.npm + ~/.cypress/Cypress key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node-