Skip to content

Merge pull request #1275 from mastra-ai/update-installation-docs #385

Merge pull request #1275 from mastra-ai/update-installation-docs

Merge pull request #1275 from mastra-ai/update-installation-docs #385

name: Version Packages
permissions:
contents: write
pull-requests: write
on:
push:
branches:
- main
jobs:
version:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 9.7.0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build:core && pnpm build:cli
- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: "chore: version packages"
commit: "chore: version packages"
version: pnpm changeset version