Skip to content

Commit 514130f

Browse files
committed
chore: npm から pnpm へ移行
1 parent c13bb8a commit 514130f

File tree

7 files changed

+4481
-7392
lines changed

7 files changed

+4481
-7392
lines changed

.github/workflows/integration-testing.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v5
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: 10
2024
- name: Use Node.js ${{ matrix.node-version }}
2125
uses: actions/setup-node@v5
2226
with:
2327
node-version: ${{ matrix.node-version }}
24-
cache: 'npm'
25-
- run: npm ci
26-
- run: npm run build --if-present
27-
- run: npm run test
28-
- run: npm run test:integration
28+
cache: 'pnpm'
29+
- run: pnpm install --frozen-lockfile
30+
- run: pnpm run build --if-present
31+
- run: pnpm run test
32+
- run: pnpm run test:integration

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules
22
dist
33
typescript-graph.md
4-
.npmrc
54
__tmp__

.npmrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# pnpm configuration
2+
auto-install-peers=true
3+
# --save-exact を自動適用
4+
save-prefix=''
5+
# リリースから 7 日経過(= 60 x 24 x 7 min)したパッケージのみインストールを許可する
6+
minimum-release-age=10080

0 commit comments

Comments
 (0)