Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d5b9f3d
feat: add streamable HTTP support
Nov 22, 2025
8ff68df
feat: #1 add streamable HTTP support (#2)
aakashH242 Nov 23, 2025
edb1df0
feat: add streamable HTTP support
Nov 22, 2025
2b1ebe3
Merge branch 'main' into feat/streamable-http-support
aakashH242 Nov 23, 2025
bad35b7
feat: add streamable HTTP support (#3)
aakashH242 Nov 23, 2025
5475ab0
feat: add CI and docs updates
Nov 23, 2025
68f2bd5
feat: add CI and docs updates (#4)
aakashH242 Nov 23, 2025
bea806c
chore: changelog workflow update
Nov 23, 2025
5a15d27
Merge branch 'main' into feat/streamable-http-support
aakashH242 Nov 23, 2025
7cd6742
fix: changelog workflow update
Nov 23, 2025
3b22765
Merge remote-tracking branch 'origin/feat/streamable-http-support' in…
Nov 23, 2025
aac151f
chore: update changelog
github-actions[bot] Nov 23, 2025
4ec3d7b
fix: changelog workflow update
Nov 23, 2025
6a1274e
(feat) Feat/hooks fix (#7)
aakashH242 Nov 23, 2025
7702f71
chore: version fix
Nov 23, 2025
1036e83
Merge branch 'main' into feat/hooks-fix
aakashH242 Nov 23, 2025
7b5f5d3
chore: document release process
Nov 23, 2025
e40956d
chore: document release process
Nov 23, 2025
e552465
chore: version fix (#9)
aakashH242 Nov 23, 2025
281ff2b
chore(main): release playwright-mcp-server 0.1.0
github-actions[bot] Nov 23, 2025
2018b95
chore(main): release playwright-mcp-server 0.1.0 (#10)
aakashH242 Nov 23, 2025
6789d5a
chore: fix docker publish (#1)
aakashH242 Nov 23, 2025
ef59caa
chore(main): release mcp-playwright 0.1.0 (#12)
github-actions[bot] Nov 23, 2025
67ce8e4
chore: fix doc ref (#13)
aakashH242 Nov 23, 2025
15fe80f
chore: fix docker compose ref in doc (#14)
aakashH242 Nov 23, 2025
aa7b417
chore: Fix tag (#15)
aakashH242 Nov 23, 2025
70f7188
chore: tag fix and version fix (#17)
aakashH242 Nov 23, 2025
7161836
chore(main): release 0.1.0 (#18)
github-actions[bot] Nov 23, 2025
fca2aa6
chore: raise changelog PR only (#19)
aakashH242 Nov 23, 2025
d988abb
chore(main): release 0.1.0 (#20)
github-actions[bot] Nov 23, 2025
4273f63
ci: reset version (#21)
aakashH242 Nov 23, 2025
cdd769a
chore(main): release 0.1.0 (#22)
github-actions[bot] Nov 23, 2025
0d2c789
docs: update docker usage instruction (#23)
aakashH242 Nov 23, 2025
8c77654
docs: rearrange and improve docs (#25)
aakashH242 Nov 23, 2025
e57c293
docs: prettify (#27)
aakashH242 Nov 23, 2025
4259850
docs: change http icon (#29)
aakashH242 Nov 23, 2025
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: 17 additions & 0 deletions .biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
"files": {
"ignore": [
"**/node_modules/**",
"dist/**",
"coverage/**",
"src/__tests__/**",
"tests/**"
]
},
"linter": {
"rules": {
"recommended": true
}
}
}
109 changes: 109 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
name: Lint/Test/Build

on:
push:
branches: ["**"]
tags: [ 'v*.*.*' ]
pull_request:
branches: ["**"]

jobs:
test-and-build:
name: Lint/Test/Build (Node 20)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Detect file changes
id: changes
uses: dorny/paths-filter@v3
with:
filters: |
docker:
- 'Dockerfile'
- 'docker-compose.yml'
- 'docker-compose.yaml'
- '.dockerignore'
docs:
- 'docs/**'

- name: Show change filters
run: |
echo "Docker files changed: ${{ steps.changes.outputs.docker }}"
echo "Docs files changed: ${{ steps.changes.outputs.docs }}"

- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci

- name: Check commit message (conventional commits)
run: npx commitlint --from=HEAD~1 --to=HEAD

- name: Run lint (Node 20)
run: npm run lint

- name: Run tests (Node 20)
run: npm test

- name: Run coverage (Node 20)
run: npm run test:coverage

- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: false

- name: Build (Node 20)
run: npm run build

- name: Build Docker image (no push, on Docker changes)
if: steps.changes.outputs.docker == 'true'
run: docker build -t mcp-playwright-ci:latest .

docs-build:
name: Docs Build (Docusaurus)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Detect docs changes
id: changes
uses: dorny/paths-filter@v3
with:
filters: |
docs:
- 'docs/**'

- name: Show change filters
run: |
echo "Docker files changed: ${{ steps.changes.outputs.docker }}"
echo "Docs files changed: ${{ steps.changes.outputs.docs }}"

- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Build docs (Docusaurus)
if: steps.changes.outputs.docs == 'true'
env:
DOCS_ORG: ${{ github.repository_owner }}
DOCS_PROJECT: ${{ github.event.repository.name }}
DOCS_URL: https://${{ github.repository_owner }}.github.io
DOCS_BASE_URL: /${{ github.event.repository.name }}/
run: |
cd docs
npm ci
npm run build
99 changes: 99 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Docker Image Build/Push

on:
push:
branches: ["**"]
tags:
- "v*.*.*"
pull_request:
branches: ["**"]
release:
types: [published, created]
workflow_dispatch:
inputs:
push_image:
description: "Set to true to force a push on manual runs"
required: false
default: "false"
workflow_call: {}

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push:
name: Docker Image (build/push)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

env:
PUSH_IMAGE: ${{ github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.event.inputs.push_image == 'true' }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.release.tag_name || github.ref }}

- name: Detect docker file changes
id: changes
uses: dorny/paths-filter@v3
with:
filters: |
docker:
- 'Dockerfile'
- 'docker-compose.yml'
- 'docker-compose.yaml'
- '.dockerignore'

- name: Show docker change filters
run: 'echo "Docker files changed: ${{ steps.changes.outputs.docker }}"'

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64,amd64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern=v{{version}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=semver,pattern=v{{major}}.{{minor}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=semver,pattern=v{{major}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=ref,event=branch,enable=${{ !startsWith(github.ref, 'refs/tags/v') && github.event_name != 'release' }}

- name: Log in to GitHub Container Registry (main/tags only)
uses: docker/login-action@v3
if: env.PUSH_IMAGE == 'true'
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Image build/push (GHCR)
if: ${{ steps.changes.outputs.docker == 'true' || env.PUSH_IMAGE == 'true' || github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v') }}
uses: docker/build-push-action@v5
env:
DOCS_ORG: ${{ github.repository_owner }}
DOCS_PROJECT: ${{ github.event.repository.name }}
DOCS_URL: https://${{ github.repository_owner }}.github.io
DOCS_BASE_URL: /${{ github.event.repository.name }}/
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ env.PUSH_IMAGE == 'true' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
5 changes: 0 additions & 5 deletions .github/workflows/docusaurus-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
name: Deploy Docusaurus documentation to GH Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/node.js.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Please

on:
push:
branches:
- main
workflow_dispatch: {}

jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Release Please
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: manifest-pr
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
40 changes: 0 additions & 40 deletions .github/workflows/test.yml

This file was deleted.

1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx commitlint --edit "$1"
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm test
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.1.0"
}
13 changes: 13 additions & 0 deletions .release-please-template.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{> header}}

## What's Changed

{{#each entries}}
### {{title}}

{{#each commits}}
* {{subject}}{{#if scope}} ({{scope}}){{/if}}{{#if author}} by @{{author.login}}{{/if}}
{{/each}}

{{/each}}

Loading