Skip to content

refactor: migrate CLI into it's own workspace (#776) #72

refactor: migrate CLI into it's own workspace (#776)

refactor: migrate CLI into it's own workspace (#776) #72

Workflow file for this run

name: Changesets
on:
push:
branches:
- master
env:
CI: true
jobs:
version:
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
id-token: write # Required for OIDC publishing
contents: write # Required for changesets to push version commit
pull-requests: write # Required for changesets to create PRs
steps:
- name: Checkout code repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Setup node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
- name: Install latest npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm install --ignore-scripts
- name: Build monorepo
run: npm run build
- name: Update and publish versions
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
with:
version: npm run ci:version
commit: "chore: update versions"
title: "chore: update versions"
publish: npm run ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ""
NPM_CONFIG_PROVENANCE: true