Skip to content

Commit

Permalink
chore(ci): release script
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Dec 12, 2024
1 parent 0ca10b7 commit e94e542
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Set publishing config
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Tag and Release
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
pnpm ci:version
git add .
git commit -m "chore(release): publish"
pnpm build
pnpm ci:tag
pnpm ci:publish
git push && git push --tags
Expand Down

0 comments on commit e94e542

Please sign in to comment.