Skip to content

Add a bunch of documentation (#39) #12

Add a bunch of documentation (#39)

Add a bunch of documentation (#39) #12

Workflow file for this run

name: Release
on:
push:
paths:
- ".changeset/**"
- ".github/workflows/release.yml"
- "src/**"
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
packages: write
steps:
- name: Checkout branch
uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://npm.pkg.github.com'
- name: Enable Corepack
run: corepack enable
- name: Install
run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers
run: pnpm exec playwright install
- name: Test
run: pnpm test
- name: Create release PR or publish to GitHub packages
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
commit: "ci(changesets): version packages"
commitMode: github-api
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}