Skip to content

Add support for Astro 5 (#27) #11

Add support for Astro 5 (#27)

Add support for Astro 5 (#27) #11

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
- 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 }}