Skip to content

Commit

Permalink
change image
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Aug 15, 2024
1 parent 2293521 commit 160b1b0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/preview_bottle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.46.0-jammy
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
Expand All @@ -36,6 +34,13 @@ jobs:
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Cache playwright binaries
uses: actions/cache@v3
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-14
- run: pnpm install
- name: create dotenv
run: |
Expand All @@ -45,6 +50,9 @@ jobs:
echo "NEXT_PUBLIC_SERVER_BASE_URL=${{ secrets.NEXT_PUBLIC_SERVER_BASE_URL }}" >> apps/bottle/.env.local
env:
NEXT_PUBLIC_SERVER_BASE_URL: ${{ secrets.NEXT_PUBLIC_SERVER_BASE_URL }}
- run: npx playwright install
if: steps.playwright-cache.outputs.cache-hit != 'true'
- run: npx playwright install-deps
- run: pnpm run ci
- name: Install Vercel CLI
run: npm install --global vercel@latest
Expand Down

0 comments on commit 160b1b0

Please sign in to comment.