Skip to content

Commit

Permalink
fix: update workflows playwright version
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Mar 17, 2024
1 parent 39a779b commit 75f6240
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions .github/workflows/playwright-and-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,17 @@ jobs:
name: 'Playwright and Lint'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.40.1-focal
image: mcr.microsoft.com/playwright:v1.42.1-focal
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
version: 'latest'
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Cache pnpm store
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
options: |
--no-restore
- name: Update Lockfile
run: pnpm install --no-frozen-lockfile
- name: Clear Cache
run: pnpm store prune
node-version: '20'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Run playwright tests
run: pnpm test:integration
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: pnpm test:integration

0 comments on commit 75f6240

Please sign in to comment.