-
Notifications
You must be signed in to change notification settings - Fork 1
Add changesets tool setup to mint-components #459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
dc8f5d4
e70aa90
97dafa3
b2671c2
12563bc
9d6622b
30076ec
d10ebc4
3a2ead5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,52 @@ | ||||||
| name: mint-components merge to master branch | ||||||
| on: | ||||||
| push: | ||||||
| branches: [master] | ||||||
| paths: | ||||||
| - "packages/mint-components/**" | ||||||
| workflow_dispatch: | ||||||
|
|
||||||
| permissions: | ||||||
| id-token: write | ||||||
| contents: write | ||||||
| packages: write | ||||||
| pull-requests: write | ||||||
| issues: read | ||||||
|
|
||||||
| jobs: | ||||||
| deploy_storybook: | ||||||
| runs-on: ubuntu-latest | ||||||
| name: Deploy Storybook to Github Pages | ||||||
| defaults: | ||||||
| run: | ||||||
| working-directory: packages/mint-components | ||||||
| steps: | ||||||
|
Comment on lines
+1
to
+23
|
||||||
| - name: Checkout code | ||||||
| uses: actions/checkout@v4 | ||||||
| with: | ||||||
| ref: ${{ github.head_ref }} | ||||||
|
Comment on lines
+26
to
+27
|
||||||
| with: | |
| ref: ${{ github.head_ref }} |
noahwc marked this conversation as resolved.
Show resolved
Hide resolved
Copilot
AI
Feb 6, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changesets/action step will execute from the repository root (GitHub Actions defaults.run.working-directory does not apply to uses: steps). Since this repo root has no package.json, version: npm run version / publish: npm run release will fail. Update the commands to cd packages/mint-components && ... or configure the action's supported cwd/workingDirectory input (if available) so it runs within packages/mint-components.
Copilot
AI
Feb 6, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NODE_AUTH_TOKEN is set to secrets.GITHUB_TOKEN, which is not a valid authentication token for publishing to the public npm registry. Either remove NODE_AUTH_TOKEN (if using npm trusted publishing/OIDC) or set it to an npm token secret (commonly NPM_TOKEN) and ensure setup-node is configured for the npm registry.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Changesets | ||
|
|
||
| Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
| with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
| find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
|
||
| We have a quick list of common questions to get you started engaging with this project in | ||
| [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json", | ||
| "changelog": [ | ||
| "@changesets/changelog-github", | ||
| { "repo": "saasquatch/program-tools" } | ||
| ], | ||
| "commit": false, | ||
| "fixed": [], | ||
| "linked": [], | ||
| "access": "public", | ||
| "baseBranch": "master", | ||
noahwc marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "updateInternalDependencies": "patch", | ||
| "ignore": [] | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use consistent capitalization: "Github" should be "GitHub" in the job name.