Skip to content

Merge pull request #100 from HiDeoo/hd-astro-5 #29

Merge pull request #100 from HiDeoo/hd-astro-5

Merge pull request #100 from HiDeoo/hd-astro-5 #29

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
changeset:
name: Changeset
if: ${{ github.repository_owner == 'hideoo' }}
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 8.6.9
- name: Install Node.js
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 18
- name: Install dependencies
run: pnpm install
- name: Create Release Pull Request or Publish
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm changeset publish
commit: 'ci: release'
title: 'ci: release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}