Skip to content

Commit 34a408b

Browse files
committed
ci: add pkg.pr.new
1 parent ef25339 commit 34a408b

File tree

4 files changed

+345
-6
lines changed

4 files changed

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