Add CI workflow and README badges
- Add npm, CI, license, node badges to README - Add CI workflow testing Node 18, 20, 22 - Runs build, lint, typecheck on push/PR Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master, main]
|
||||
pull_request:
|
||||
branches: [master, main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18, 20, 22]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install Playwright
|
||||
run: npx playwright install webkit
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Lint & Format
|
||||
run: npm run check
|
||||
|
||||
- name: Typecheck
|
||||
run: npm run typecheck
|
||||
|
||||
- name: Test
|
||||
run: npm test --if-present
|
||||
@@ -1,5 +1,10 @@
|
||||
# @aladac/claude-browse
|
||||
|
||||
[](https://www.npmjs.com/package/@aladac/claude-browse)
|
||||
[](https://github.com/aladac/claude-browse/actions/workflows/ci.yml)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://nodejs.org)
|
||||
|
||||
Headless browser automation for Claude Code using Playwright WebKit.
|
||||
|
||||
## Installation
|
||||
|
||||
Reference in New Issue
Block a user