Skip to content

Add repo URL to package #11

Add repo URL to package

Add repo URL to package #11

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
cache: yarn
registry-url: https://registry.npmjs.org
- name: Update npm for OIDC trusted publishing
run: npm install -g npm@latest
- name: Verify toolchain versions
run: node -v && npm -v && yarn -v
- name: Print GitHub OIDC identity context
run: |
echo "repository=$GITHUB_REPOSITORY"
echo "workflow_ref=$GITHUB_WORKFLOW_REF"
echo "ref=$GITHUB_REF"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test
- name: Create release PR or publish
uses: changesets/action@v1
with:
version: yarn version-packages
publish: yarn release
commit: "chore: version packages"
title: "chore: version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}