Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/mint-components-merge-to-main.yml
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:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install packages
run: npm ci

- name: Build
run: npm run build

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
# Runs `npm i` after changeset to make sure that `package-lock.json` files are also updated
# Without this change only `package.json` files are updated, without `package-lock.json` changes.
version: npm run version
# Runs changesets on publish - will create tags and deploy to NPM
publish: npm run release
title: "mint-components - Version Packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
8 changes: 8 additions & 0 deletions packages/mint-components/.changeset/README.md
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)
14 changes: 14 additions & 0 deletions packages/mint-components/.changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "saasquatch/program-tools" }
],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
}
Loading
Loading