Skip to content

Commit

Permalink
Chromantic Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxiCorrea committed Feb 12, 2024
1 parent 7cc59c9 commit de31d75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy-chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Publish Chromatic"
name: "Chromatic"

on: push

Expand All @@ -12,11 +12,13 @@ jobs:
fetch-depth: 0

- name: Install dependencies
- run: npm ci
#- run: pnpm install
- run: yarn install --immutable --immutable-cache --check-cache
# ⚠️ Pick one of these, matching the package manager for your project
run: npm ci
run: pnpm install
run: yarn install --immutable --immutable-cache --check-cache

- name: Publish to Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maxicorrea/mx-button",
"version": "1.0.11",
"version": "1.0.12",
"description": "React MxButton Component",
"author": {
"name": "MaxiCorrea"
Expand Down

0 comments on commit de31d75

Please sign in to comment.