Skip to content

feat: add schematic map constraint copy-forward CLI (#285) #37

feat: add schematic map constraint copy-forward CLI (#285)

feat: add schematic map constraint copy-forward CLI (#285) #37

name: Publish Packages
on:
push:
branches:
- main
paths:
- '.changeset/**'
- '.github/workflows/package-publish.yml'
- 'package*.json'
- 'packages/**'
- 'turbo.json'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
id-token: write
concurrency:
group: package-publish-${{ github.ref }}
cancel-in-progress: false
jobs:
release:
if: github.repository == 'foldaway/mrtdown-data'
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci
- name: Run deterministic checks
run: npm run check
- name: Build packages
run: npm run build:packages
- name: Test packages
run: npm run test:packages
- name: Create version PR or publish packages
id: changesets
uses: changesets/action@v1
with:
version: npm run release:version
publish: npm run release:publish
commit: 'chore: version packages'
title: 'chore: version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true