Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn 4 #116

Merged
merged 3 commits into from
Mar 28, 2024
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
with:
node-version: 18
- run: corepack enable
- run: yarn set version 1.22.22
- run: yarn set version 4.1.1
- run: yarn -v
- 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 @@ -49,10 +49,10 @@ jobs:
with:
node-version: 18
- run: corepack enable
- run: yarn set version 1.22.22
- 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 @@ -73,10 +73,10 @@ jobs:
with:
node-version: 18
- run: corepack enable
- run: yarn set version 1.22.22
- run: yarn set version 4.1.1
- run: yarn install --immutable
- run: rm .storybook/Interactive.stories.js
- 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
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-1.22.22.cjs
yarnPath: .yarn/releases/yarn-4.1.1.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
"archiver": "^3.0.0",
"rimraf": "^2.6.3"
},
"packageManager": "yarn@1.22.22"
"packageManager": "yarn@4.1.1"
}
Loading
Loading