* change

* formatting
This commit is contained in:
pngwn 2023-03-22 14:27:14 +00:00 committed by GitHub
parent 6c2b3d1bca
commit 2d22d4f028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 16 deletions

View File

@ -1,11 +0,0 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}

View File

@ -9,9 +9,8 @@ env:
jobs:
version:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./ui
steps:
- name: checkout code repository
uses: actions/checkout@v3
@ -24,17 +23,19 @@ jobs:
- name: install pnpm
run: npm i pnpm@latest -g
- name: Setup npmrc
working-directory: ./ui
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
working-directory: ./ui
run: pnpm install
- name: create and publish versions
uses: changesets/action@v1
with:
version: pnpm ci:version
version: cd ui && pnpm changeset version
commit: "chore: update versions"
title: "chore: update versions"
publish: pnpm ci:publish
publish: cd ui && pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

11
ui/.changeset/config.json Normal file
View File

@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}