Skip to content

Commit

Permalink
ci: always run build for committing before releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 27, 2023
1 parent 9dc4bfe commit bc796e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
- name: Install Dependencies
run: yarn --frozen-lockfile

# required for committing before releasing
- name: Build
run: yarn build

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"lint:es": "eslint . --cache --max-warnings 10 -f friendly",
"lint:tsc": "tsc --noEmit",
"prepare": "patch-package && simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
"release": "yarn build && tsx scripts/private &&& changeset publish",
"release": "tsx scripts/private &&& changeset publish",
"typecov": "type-coverage"
},
"devDependencies": {
Expand Down

0 comments on commit bc796e5

Please sign in to comment.