This commit is contained in:
Dreamgineer
2025-10-28 23:01:46 -04:00 Unverified
parent 586016c216
commit 5deddbdfc0
+13
View File
@@ -14,10 +14,23 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
node-version: lts/*
- name: Get installed Playwright version
id: playwright-version
run: |
export VER=$(bun --print "require('./bun.lock').workspaces[''].devDependencies['@playwright/test'].slice(1)")
echo "PLAYWRIGHT_VERSION=$VER"" >> $GITHUB_ENV
- name: Cache playwright binaries
uses: actions/cache@v3
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
- name: Install dependencies
run: bun i --frozen-lockfile
- name: Install Playwright Browsers
run: bun x playwright install --with-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'
- name: Tailscale
uses: tailscale/github-action@v4
with: