-
Notifications
You must be signed in to change notification settings - Fork 141
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
chore: yarn ではなく pnpm を使うように変更 #4186
Changes from all commits
7c13d61
1bf0358
ce70196
f7ee6a2
a46f735
d7de796
108aee3
e9c3924
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,22 +14,16 @@ jobs: | |
browser: [chrome] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Use yarn cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
cache: 'pnpm' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. キャッシュに関してはこれだけで良さそうでした。 |
||
- name: run | ||
run: | | ||
yarn install --frozen-lockfile | ||
yarn e2e | ||
pnpm install | ||
pnpm e2e | ||
env: | ||
TESTCAFE_BROWSER: ${{ matrix.browser }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
"@commitlint/cli": "^18.6.1", | ||
"@commitlint/config-conventional": "^18.6.2", | ||
"@storybook/addon-a11y": "^7.6.15", | ||
"@storybook/addon-actions": "^7.6.15", | ||
"@storybook/addon-essentials": "^7.6.15", | ||
"@storybook/addon-interactions": "^7.6.15", | ||
"@storybook/addon-storysource": "^7.6.15", | ||
|
@@ -163,7 +164,7 @@ | |
"test": "jest", | ||
"test:update-snapshot": "jest --updateSnapshot", | ||
"test:build-assets": "node scripts/build-test.ts", | ||
"test-storybook:ci": "wait-on tcp:6006 && yarn test-storybook --maxWorkers=2 --junit", | ||
"test-storybook:ci": "wait-on tcp:6006 && pnpm test-storybook --maxWorkers=2 --junit", | ||
"testcafe": "testcafe", | ||
"e2e": "ts-node scripts/e2e.ts", | ||
"e2e:dev": "testcafe chrome --host localhost --skip-js-errors", | ||
|
@@ -176,12 +177,14 @@ | |
"*.css" | ||
], | ||
"typings": "lib/index.d.ts", | ||
"resolutions": { | ||
"@babel/helper-compilation-targets": "^7.23.6", | ||
"@types/react": "^18.2.55", | ||
"minimist": "1.2.8", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
"pnpm": { | ||
"overrides": { | ||
"@babel/helper-compilation-targets": "^7.23.6", | ||
"@types/react": "^18.2.55", | ||
"minimist": "1.2.8", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
} | ||
Comment on lines
+180
to
+187
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yarn の |
||
}, | ||
"standard-version": { | ||
"scripts": { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarn audit --groups dependencies
と同等のものに変更しています。https://pnpm.io/ja/cli/audit#--prod--p