Skip to content

Commit

Permalink
ci: run changeset status in main branch CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Dec 13, 2024
1 parent 775ac63 commit 6c83cd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ jobs:
run: |
pnpm run --if-present build
- name: Check the release
run: |
pnpm run --if-present lint-release
- name: Publish to GitHub repository
uses: changesets/action@aba318e9165b45b7948c60273e0b72fce0a64eb9 # v1.4.7
id: changeset
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"clean": "rimraf dist/ documentation/build/ packages/storybook/dist && pnpm run --recursive clean",
"deploy": "npm-run-all deploy:**",
"lint": "npm-run-all --continue-on-error lint:** && prettier --check .",
"lint:changeset": "changeset status",
"lint:css": "stylelint --allow-empty-input '**/*.{css,scss}'",
"lint:js": "eslint --no-error-on-unmatched-pattern --ext .js,.cjs,.mjs,.jsx,.ts,.tsx .",
"lint:md": "markdownlint '**/*.md'",
Expand All @@ -65,6 +64,7 @@
"lint-fix:css": "stylelint --fix '**/*.{css,scss}'",
"lint-fix:js": "eslint --fix --ext .js,.cjs,.mjs,.jsx,.ts,.tsx",
"lint-fix:md": "markdownlint --fix '**/*.md'",
"lint-release": "changeset status",
"prepare": "husky",
"prettier": "prettier --write .",
"publish": "changeset publish",
Expand Down

0 comments on commit 6c83cd7

Please sign in to comment.