Skip to content

Commit

Permalink
chore: change cypress workflow contianer image
Browse files Browse the repository at this point in the history
  • Loading branch information
YyumeiZhang committed Aug 30, 2024
1 parent 191461b commit 737b5a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 737b5a7

Please sign in to comment.