Skip to content

Commit

Permalink
Use npx instead of yarn when invoking happo-ci-github-actions
Browse files Browse the repository at this point in the history
This will make the bash scripts from happo.io work.
  • Loading branch information
trotzig committed Mar 28, 2024
1 parent e68b00e commit 13defd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- run: yarn install --immutable
- run: yarn lint
- run: yarn test
- run: yarn build && yarn happo-ci-github-actions
- run: yarn build-local-storybook && HAPPO_USE_PREBUILT_PACKAGE=yes HAPPO_PROJECT=storybook8-prebuilt yarn happo-ci-github-actions
- run: yarn build && npx -p happo.io happo-ci-github-actions
- run: yarn build-local-storybook && HAPPO_USE_PREBUILT_PACKAGE=yes HAPPO_PROJECT=storybook8-prebuilt npx -p happo.io happo-ci-github-actions

storybook7:
runs-on: ubuntu-latest
Expand All @@ -52,7 +52,7 @@ jobs:
- run: yarn set version 4.1.1
- run: yarn install --immutable
- run: yarn add --dev @storybook/addon-actions@7 @storybook/addon-interactions@7 @storybook/api@7 @storybook/manager-api@7 @storybook/preview-api@7 @storybook/react@7 @storybook/react-webpack5@7 storybook@7
- run: yarn build && yarn happo-ci-github-actions
- run: yarn build && npx -p happo.io happo-ci-github-actions

storybook6:
runs-on: ubuntu-latest
Expand All @@ -79,4 +79,4 @@ jobs:
- run: yarn add --dev storybook@6 @storybook/addon-actions@6 @storybook/addon-interactions@6 @storybook/api@6 @storybook/react@6 global @storybook/channels@6 @storybook/channel-websocket@6
- run: yarn build
- run: yarn storybook build --version
- run: yarn happo-ci-github-actions
- run: npx -p happo.io happo-ci-github-actions

0 comments on commit 13defd6

Please sign in to comment.