Skip to content

Commit

Permalink
test: with playwright actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Aug 15, 2024
1 parent 28f1e22 commit 4a81e25
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
push:
branches-ignore:
- main
- chore/ci-test
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/preview_bottle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,18 @@ jobs:
restore-keys: |
${{ runner.os }}-turbo-
- run: pnpm install
- name: Get installed Playwright version
id: playwright-version
run: echo "PLAYWRIGHT_VERSION=1.46.0" >> $GITHUB_ENV
- name: Cache playwright binaries
uses: actions/cache@v4
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
- run: pnpx playwright install --with-deps
- run: pnpm run build
if: steps.playwright-cache.outputs.cache-hit != 'true'
- name: create dotenv
run: |
touch apps/bottle/.env.local
Expand Down

0 comments on commit 4a81e25

Please sign in to comment.