Skip to content

Commit eda2d83

Browse files
committed
Don't cache Playwright binaries
1 parent b4e1ff6 commit eda2d83

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.github/workflows/deploy.yml

-14
Original file line numberDiff line numberDiff line change
@@ -114,21 +114,7 @@ jobs:
114114
- name: Install dependencies
115115
run: npm ci
116116

117-
- name: Add environment variables
118-
run: |
119-
echo "NODE_VERSION=$(node --version)" >> $GITHUB_ENV
120-
npm list @playwright/test --depth=0 --json > npm-list-playwright.json
121-
echo "PLAYWRIGHT_VERSION=$(node --print "require('./npm-list-playwright.json').dependencies['@playwright/test'].version")" >> $GITHUB_ENV
122-
123-
- name: Cache binaries
124-
uses: actions/cache@v3
125-
id: playwright-cache
126-
with:
127-
path: ~/.cache/ms-playwright
128-
key: os-${{ runner.os }}-node-${{ env.NODE_VERSION }}-playwright-v${{ env.PLAYWRIGHT_VERSION }}
129-
130117
- name: Install browsers
131-
if: steps.playwright-cache.outputs.cache-hit != 'true'
132118
run: npx playwright install --with-deps
133119

134120
- name: Build app

0 commit comments

Comments
 (0)