Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/octocov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ permissions:
jobs:
octocov:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.58.2-noble
options: --user 1001
services:
httpbin:
image: kennethreitz/httpbin
env:
RUNNING_IN_DOCKER: "1"
strategy:
fail-fast: false
matrix:
Expand All @@ -30,18 +38,9 @@ jobs:
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: cache playwright
uses: actions/cache@v5
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: cache-playwright-{{ matrix.node-version }}

- name: Install dependencies
run: |
pnpm install
pnpm exec playwright install --with-deps

- name: Lint
run: pnpm lint
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ on:
jobs:
test:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.58.2-noble
options: --user 1001
services:
httpbin:
image: kennethreitz/httpbin
env:
RUNNING_IN_DOCKER: "1"

continue-on-error: true
strategy:
Expand All @@ -29,18 +37,9 @@ jobs:
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: cache playwright
uses: actions/cache@v5
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: cache-playwright-{{ matrix.node-version }}

- name: Install dependencies
run: |
pnpm install
pnpm exec playwright install --with-deps

- name: Lint
run: pnpm lint
Expand All @@ -56,4 +55,3 @@ jobs:

- name: Test packaging
run: pnpm pack