Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Aug 4, 2023
1 parent c7b092b commit bda85d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ jobs:
run: pnpm install

- name: create and publish versions
id: changesets
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: "chore: update versions"
title: "chore: update versions"
publish: pnpm ci:publish
commit: "chore: update versions"
publish: pnpm changeset:publish
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"build": "pnpm -r --aggregate-output --filter=./packages/* build",
"test": "pnpm -r --aggregate-output --filter=./packages/* test",
"format": "prettier **/*.{js,jsx,ts,json,md} --write",
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",
"ci:publish": "pnpm publish -r"
"changeset:release": "pnpm build && changeset publish -r",
"changeset:version": "changeset version && pnpm install --lockfile-only"
},
"devDependencies": {
"@babel/core": "^7.22.9",
Expand Down

0 comments on commit bda85d3

Please sign in to comment.