Skip to content

docs: fix homepage test pages link (#717) #102

docs: fix homepage test pages link (#717)

docs: fix homepage test pages link (#717) #102

Workflow file for this run

name: Release
on:
pull_request:
push:
branches:
- main
permissions:
id-token: write
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout all commits
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup git user
shell: bash
run: |
git config --global user.name '@partytown'
git config --global user.email 'partytown@users.noreply.github.com'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.7.0
- name: Use Node
uses: actions/setup-node@v4
with:
node-version: 24.x
registry-url: https://registry.npmjs.org
cache: 'pnpm'
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
- name: Build packages
shell: bash
run: pnpm build.prod
# - name: Publish any commit / build for testing
# run: pnpm release.pkg-pr-new
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release Pull Request or Publish
if: github.ref == 'refs/heads/main'
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}