Skip to content

feat: webhooks join the Data Center surface #936

feat: webhooks join the Data Center surface

feat: webhooks join the Data Center surface #936

Workflow file for this run

name: 🛠️ CI
on:
push:
branches:
- '**'
tags-ignore:
- '**'
repository_dispatch:
types: [ pr-approved ]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: 🏗️ Build & lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- name: 🔄 Checkout sources
uses: actions/checkout@v7
- name: ⚙️ Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
- name: 📦 Install pnpm
uses: pnpm/action-setup@v6
- name: 📌 Install dependencies
run: pnpm install --frozen-lockfile
- name: 🛠️ Build
run: pnpm run build
- name: 🔍 Lint
run: pnpm run lint
- name: 🧾 Typecheck (sources and tests)
run: pnpm run typecheck
test:
name: 🧪 Unit tests
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- name: 🔄 Checkout sources
uses: actions/checkout@v7
- name: ⚙️ Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
- name: 📦 Install pnpm
uses: pnpm/action-setup@v6
- name: 📌 Install dependencies
run: pnpm install --frozen-lockfile
- name: 🧪 Unit tests
run: pnpm run test
package:
name: 📦 Package checks
needs: build
runs-on: ubuntu-latest
steps:
- name: 🔄 Checkout sources
uses: actions/checkout@v7
- name: ⚙️ Use Node.js 22.x
uses: actions/setup-node@v7
with:
node-version: 22.x
- name: 📦 Install pnpm
uses: pnpm/action-setup@v6
- name: 📌 Install dependencies
run: pnpm install --frozen-lockfile
- name: 🏗️ Build
run: pnpm run build
- name: 📥 Consumer install and resolution
run: pnpm run check:consumers
- name: 🌐 Browser-safe build
run: pnpm run check:browser
- name: 🎭 Install Chromium
run: pnpm exec playwright install --with-deps chromium
- name: 🌍 Browser smoke tests
run: pnpm run check:browser:e2e