Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Nov 20, 2023
1 parent 75d32d5 commit 8d72fa6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:

jobs:
test:
timeout-minutes: 20
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -50,13 +50,14 @@ jobs:
version: 8.6.2

- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
cache-dependency-path: '**/pnpm-lock.yaml'

- name: Install deps
run: pnpm install
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts

# Install playwright's binary under custom directory to cache
- name: Set Playwright path (non-windows)
Expand All @@ -75,7 +76,6 @@ jobs:
path: ${{ env.PLAYWRIGHT_BROWSERS_PATH }}

- name: Install Playwright
# does not need to explicitly set chromium after https://github.com/microsoft/playwright/issues/14862 is solved
run: pnpx playwright@1.39.0 install chromium

- name: Build
Expand Down

0 comments on commit 8d72fa6

Please sign in to comment.