Skip to content

Commit

Permalink
Update CI tests to get passing test step
Browse files Browse the repository at this point in the history
  • Loading branch information
ethriel3695 committed May 29, 2024
1 parent 48771af commit 15937f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
keys:
- v4-dependencies-{{ checksum "yarn.lock" }}
- v4-dependencies-
- run: corepack use yarn@4.2.2
- run: yarn set version berry
- run: yarn install

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/smoke-test-npx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: lts/*
- run: corepack enable
- run: yarn set version berry
- name: install
run: npm install && git status --porcelain
- run: npm run build
run: yarn && git status --porcelain
- run: yarn build
- name: run chromatic
run: npm run chromatic -- --build-script-name build-test-storybook --exit-zero-on-changes --force-rebuild
run: npx -p . chromatic --build-script-name build-test-storybook --exit-zero-on-changes --force-rebuild
env:
LOG_LEVEL: debug
DEBUG: chromatic-cli
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
]
},
"docs": "https://www.chromatic.com/docs/cli",
"packageManager": "yarn@4.2.2",
"storybook": {
"icon": "https://user-images.githubusercontent.com/263385/101995175-2e087800-3c96-11eb-9a33-9860a1c3ce62.gif",
"displayName": "Chromatic"
Expand Down

0 comments on commit 15937f8

Please sign in to comment.