Skip to content

Commit

Permalink
Merge pull request #6 from Baek2back/changesets/test
Browse files Browse the repository at this point in the history
ci: test for ci
  • Loading branch information
Baek2back authored Jul 2, 2024
2 parents be606bc + b921c6a commit 1848f98
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ jobs:
- name: Install Dependencies
run: bun install --frozen-lockfile

- name: Create Release Pull Request
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
title: 'chore: version packages'
commit: 'chore: version packages'
version: bun run version-packages
publish: bun run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_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 @@ -25,7 +25,7 @@
"typescript": "^5.5.2"
},
"scripts": {
"postinstall": "[ -n \"$CI\" ] || lefthook install",
"postinstall": "lefthook install",
"dev": "turbo run dev",
"build": "turbo run build",
"start": "turbo run start",
Expand All @@ -35,7 +35,7 @@
"test:watch": "turbo run test:watch",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "changeset publish",
"publish": "changeset publish",
"commit": "cz"
},
"config": {
Expand Down

0 comments on commit 1848f98

Please sign in to comment.