Skip to content

Commit

Permalink
build: config changesets (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jun 18, 2024
1 parent 930430c commit 57c6cb2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"ignore": ["@assistant-ui/www", "with-react-hook-form", "with-vercel-ai-rsc"]
}
9 changes: 6 additions & 3 deletions .github/workflows/changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: setup node.js
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 20

- name: install pnpm
run: npm i pnpm@latest -g
- name: Setup npmrc
Expand All @@ -27,12 +29,13 @@ jobs:
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
run: pnpm install

- name: create and publish versions
uses: changesets/action@v1
with:
version: pnpm ci:version
version: pnpm changeset version
commit: "chore: update versions"
title: "chore: update versions"
publish: pnpm ci:publish
publish: pnpm publish -r
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "assistant-ui",
"private": "true",
"scripts": {
"lint": "biome lint .",
"ci:publish": "pnpm publish -r"
"lint": "biome lint ."
},
"devDependencies": {
"@biomejs/biome": "1.8.1",
Expand Down

0 comments on commit 57c6cb2

Please sign in to comment.