Skip to content

🚀 Build & Publish #13

🚀 Build & Publish

🚀 Build & Publish #13

Workflow file for this run

name: 🚀 Build & Publish
# Forceful manual trigger
on:
workflow_dispatch:
# Disable concurrent builds
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- name: 🔖Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📦Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 9
- name: 🌳Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: 🛠️Install dependencies from lockfile
run: pnpm install --frozen-lockfile
- name: 🦋Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
commit: 'ci(release): Version packages'
title: 'ci(release): Version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}