Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-cn committed Mar 1, 2024
1 parent 442d9b0 commit 56ba441
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ jobs:
run: pnpm install --no-frozen-lockfile
env:
GITHUB_AUTH_TOKEN: ${{secrets.PERSONAL_TOKEN}}
- name: build packages
run: npm run build
- name: create and publish versions
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: "chore: update versions"
title: "chore: update versions"
publish: pnpm ci:publish
publish: npm run pub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"format": "prettier packages --write",
"build": "node ./scripts/build.js",
"clean": "node ./scripts/clean.js",
"pub": "node ./scripts/publish.js",
"ci:version": "pnpm changeset version",
"ci:publish": "npm run build && node ./scripts/publish.js",
"bump": "bumpp packages/**/package.json",
"docs:dev": "vitepress dev docs --port 5566",
"docs:build": "vitepress build docs",
Expand Down

0 comments on commit 56ba441

Please sign in to comment.