Skip to content

Remove optional flag for 'ai' in peerDependenciesMeta (#754) #607

Remove optional flag for 'ai' in peerDependenciesMeta (#754)

Remove optional flag for 'ai' in peerDependenciesMeta (#754) #607

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
permissions:
id-token: write # Required for trusted publishing
contents: write
pull-requests: write
if: ${{ github.repository_owner == 'cloudflare' }}
timeout-minutes: 5
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
cache: "npm"
- name: Get Playwright version
id: playwright-version
run: echo "version=$(jq -r '.packages["node_modules/playwright"].version' package-lock.json)" >> $GITHUB_OUTPUT
- name: Cache Playwright browsers
uses: actions/cache@v4
id: playwright-cache
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.version }}
- run: npm ci
- run: npm run build
- id: changesets
uses: changesets/action@v1
with:
version: npx tsx .github/changeset-version.ts
publish: npx tsx .github/changeset-publish.ts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true