Skip to content
Draft
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
19 changes: 8 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
description: 'Version to release (e.g., 1.0.0)'
required: false

permissions:
contents: read

jobs:
build:
strategy:
Expand All @@ -31,7 +34,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24'
cache: 'npm'

- name: Install dependencies
Expand All @@ -42,21 +45,15 @@ jobs:

- name: Build distributables (Linux)
if: matrix.platform == 'linux'
run: npm run dist -- --linux
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run dist -- --linux --publish never

- name: Build distributables (Windows)
if: matrix.platform == 'win'
run: npm run dist -- --win
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run dist -- --win --publish never

- name: Build distributables (macOS)
if: matrix.platform == 'mac'
run: npm run dist -- --mac
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run dist -- --mac --publish never

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -93,7 +90,7 @@ jobs:
with:
files: artifacts/*
draft: false
prerelease: ${{ contains(github.ref, '-beta') || contains(github.ref, '-alpha') }}
prerelease: ${{ contains(github.ref_name, '-') }}
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Validate

on:
pull_request:
branches: [main]
push:
branches: [main]

permissions:
contents: read

jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
cache: npm
- run: npm ci
- run: npm run build
- run: node --test
- run: npm audit --audit-level=high
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ xattr -cr /Applications/Desktop\ Browserbase.app

## Prerequisites

- Node.js 18+
- Node.js 22.12+
- npm or yarn
- Browserbase account with API access

Expand Down
Loading
Loading