Skip to content

Commit 6f486fa

Browse files
committed
ci: add pkg.pr.new
1 parent ef25339 commit 6f486fa

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Cloudflare Playwright - Continuous Release
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: '20.x'
14+
registry-url: 'https://registry.npmjs.org'
15+
16+
- name: Install dependencies
17+
run: |
18+
cd packages/playwright-cloudflare
19+
npm ci
20+
21+
- name: Build Cloudflare Playwright
22+
run: |
23+
cd packages/playwright-cloudflare
24+
npm run build
25+
26+
- name: Publish to pkg-pr-new
27+
run: |
28+
cd packages/playwright-cloudflare
29+
npx pkg-pr-new publish

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/playwright/tree/main/packages/playwright-cloudflare/examples/todomvc)
44

5+
[![pkg.pr.new](https://pkg.pr.new/badge/cloudflare/playwright)](https://pkg.pr.new/~/cloudflare/playwright)
6+
57
Fork of [Playwright](https://github.com/microsoft/playwright/) that was modified to be compatible with [Cloudflare Workers](https://developers.cloudflare.com/workers/) and [Browser Rendering](https://developers.cloudflare.com/browser-rendering/).
68

79
🏷️ Upstream Playwright version: [1.55.0](https://github.com/microsoft/playwright/releases/tag/v1.54.1)

0 commit comments

Comments
 (0)