Skip to content

Commit 2ead7ae

Browse files
authored
Merge pull request #304 from ysk8hori/npm-to-pnpm
chore: npm から pnpm へ移行
2 parents c13bb8a + fb0d4c1 commit 2ead7ae

File tree

7 files changed

+4479
-7392
lines changed

7 files changed

+4479
-7392
lines changed

.github/workflows/integration-testing.yml

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

1818
steps:
1919
- uses: actions/checkout@v5
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
2022
- name: Use Node.js ${{ matrix.node-version }}
2123
uses: actions/setup-node@v5
2224
with:
2325
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
26+
cache: 'pnpm'
27+
- run: pnpm install --frozen-lockfile
28+
- run: pnpm run build
29+
- run: pnpm run test
30+
- 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)