Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI

on:
workflow_dispatch:
pull_request:
push:
branches: [main]
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
timeout-minutes: 20
needs: verify
permissions:
actions: write
contents: write
pull-requests: write
id-token: write
Expand All @@ -53,6 +54,7 @@ jobs:
- run: npm ci --ignore-scripts

- name: Create version PR or publish
id: changesets
uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b
with:
version: npm run version-packages
Expand All @@ -61,3 +63,9 @@ jobs:
title: "chore: version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Trigger CI for version PR
if: steps.changesets.outputs.hasChangesets == 'true'
run: gh workflow run ci.yml --ref changeset-release/main
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading