From 737b5a77b338ffef1108586dcd8a7bee0ae89972 Mon Sep 17 00:00:00 2001 From: "zhangyumei.0319" Date: Fri, 30 Aug 2024 14:24:37 +0800 Subject: [PATCH] chore: change cypress workflow contianer image --- .github/workflows/cypress.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 1c4d3c017e..732a3180f9 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest container: # https://github.com/cypress-io/cypress-docker-images/tree/master/browsers - image: cypress/base:20.14.0 + image: cypress/browsers:node-20.17.0-chrome-128.0.6613.113-1-ff-129.0.2-edge-128.0.2739.42-1 if: ${{ github.repository_owner == 'DouyinFE' }} steps: - name: Checkout @@ -42,8 +42,8 @@ jobs: name: storybook-static if-no-files-found: error path: storybook - - name: Reclaim cache directory - run: chown -R 1001:1001 /github/home/.cache && echo "pwn dat cache" + # - name: Reclaim cache directory + # run: chown -R 1001:1001 /github/home/.cache && echo "pwn dat cache" - name: Cypress install uses: cypress-io/github-action@v5 with: @@ -52,7 +52,7 @@ jobs: chrome-tests: runs-on: ubuntu-latest container: - image: cypress/base:20.14.0 + image: cypress/browsers:node-20.17.0-chrome-128.0.6613.113-1-ff-129.0.2-edge-128.0.2739.42-1 options: --user 1001 needs: install steps: