Skip to content

chore(deps): update all non-major dependencies #129

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #129

Workflow file for this run

name: Publish

Check warning on line 1 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / Publish

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request_target:
types:
- closed
branches:
- master
jobs:
publish:
if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'changeset-release/master'
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v6
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: 24
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Publish
uses: changesets/action@v2.1.2
id: changesets
with:
version-script: pnpm version
publish-script: pnpm tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
outputs:
ref: ${{ github.ref }}
published: ${{ steps.changesets.outputs.published }}
deploy-to-static-file-host:
name: Deploy to Static File Host
uses: ./.github/workflows/deploy.yaml
needs: publish
with:
ref: ${{ needs.publish.outputs.ref }}
if: ${{ needs.publish.outputs.published }}