Remove playwright caching
CI Pipeline / test (20) (pull_request) Successful in 6m15s
CI Pipeline / test (18) (pull_request) Successful in 6m22s
CI Pipeline / e2e (chromium) (pull_request) Successful in 2m34s
CI Pipeline / e2e (firefox) (pull_request) Successful in 2m40s
CI Pipeline / e2e (webkit) (pull_request) Successful in 5m3s
CI Pipeline / visual-regression (pull_request) Failing after 6m56s
CI Pipeline / seed-vr-snapshots (pull_request) Has been skipped
CI Pipeline / performance (pull_request) Successful in 2m29s
CI Pipeline / lint (pull_request) Successful in 1m2s
CI Pipeline / storybook (pull_request) Successful in 1m34s
CI Pipeline / build (pull_request) Successful in 1m21s

This commit is contained in:
adilallo
2025-09-03 12:18:14 -06:00
parent b6446899b1
commit a34cc1d788
+28 -18
View File
@@ -46,14 +46,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: ${{ github.server_url == 'https://github.com' }}
with: { node-version: 20, cache: npm }
- uses: actions/setup-node@v4
if: ${{ github.server_url != 'https://github.com' }}
with: { node-version: 20 }
- run: npm ci
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install Playwright
run: npx playwright install --with-deps ${{ matrix.browser }}
- run: npm run build
@@ -115,14 +113,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: ${{ github.server_url == 'https://github.com' }}
with: { node-version: 20, cache: npm }
- uses: actions/setup-node@v4
if: ${{ github.server_url != 'https://github.com' }}
with: { node-version: 20 }
- run: npm ci
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install Playwright
run: npx playwright install --with-deps
- run: npm run build
@@ -198,7 +194,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: ${{ github.server_url == 'https://github.com' }}
with: { node-version: 20, cache: npm }
- uses: actions/setup-node@v4
if: ${{ github.server_url != 'https://github.com' }}
with: { node-version: 20 }
- run: npm ci
- name: Install LHCI
@@ -338,14 +338,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: ${{ github.server_url == 'https://github.com' }}
with: { node-version: 20, cache: npm }
- uses: actions/setup-node@v4
if: ${{ github.server_url != 'https://github.com' }}
with: { node-version: 20 }
- run: npm ci
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install Playwright
run: npx playwright install --with-deps
- run: npm run build
@@ -374,7 +372,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: ${{ github.server_url == 'https://github.com' }}
with: { node-version: 20, cache: npm }
- uses: actions/setup-node@v4
if: ${{ github.server_url != 'https://github.com' }}
with: { node-version: 20 }
- run: npm ci
- run: npm run storybook:build:github
- run: npm run test:sb
@@ -385,7 +387,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: ${{ github.server_url == 'https://github.com' }}
with: { node-version: 20, cache: npm }
- uses: actions/setup-node@v4
if: ${{ github.server_url != 'https://github.com' }}
with: { node-version: 20 }
- run: npm ci
- run: npm run lint
- run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}"
@@ -395,7 +401,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
if: ${{ github.server_url == 'https://github.com' }}
with: { node-version: 20, cache: npm }
- uses: actions/setup-node@v4
if: ${{ github.server_url != 'https://github.com' }}
with: { node-version: 20 }
- run: npm ci
- run: npm run build
- run: npm run storybook:build:github