Skip to content

Commit

Permalink
Merge pull request #564 from chromaui/cody/cap-2189-flag-fromci-is-no…
Browse files Browse the repository at this point in the history
…t-being-recognised-by-latest-chroma-ci-gha

Update `fromCI` to `ci` as only a CLI flag
  • Loading branch information
winkerVSbecks authored Sep 12, 2024
2 parents d2971f2 + 84c9075 commit 3e31912
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17,229 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ This project uses Astro. Inside, you'll see the following folders and files:

All commands are run from the root of the project, from a terminal:

| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |
| Command | Action |
| :--------------------- | :----------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm dev` | Starts local dev server at `localhost:4321` |
| `pnpm build` | Build your production site to `./dist/` |
| `pnpm preview` | Preview your build locally, before deploying |
| `pnpm astro ...` | Run CLI commands like `astro add`, `astro check` |
| `pnpm astro -- --help` | Get help using the Astro CLI |

## ✍️ Editing Content

Expand Down
18 changes: 9 additions & 9 deletions chromatic-config/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
"default": "build-storybook",
"supports": ["CLI", "GitHub Action", "Config File"]
},
{
"option": "ci",
"flag": "--ci",
"description": "Mark the build as coming from CI.",
"type": "boolean",
"example": "`true`",
"defaultComment": "Inferred from CI",
"supports": ["CLI"]
},
{
"option": "configFile",
"flag": "--config.json",
Expand Down Expand Up @@ -99,15 +108,6 @@
"default": false,
"supports": ["CLI", "GitHub Action"]
},
{
"option": "fromCI",
"flag": "--ci",
"description": "Mark the build as coming from CI.",
"type": "boolean",
"example": "`true`",
"defaultComment": "Inferred from CI",
"supports": ["CLI", "GitHub Action"]
},
{
"option": "ignoreLastBuildOnBranch",
"flag": "--ignore-last-build-on-branch",
Expand Down
Loading

0 comments on commit 3e31912

Please sign in to comment.