Skip to content

Commit 9d6346c

Browse files
azuclaude
andauthored
Node.jsメンテナンス: 依存関係とCI環境を最新化 (#22)
* CI: pin GitHub Action version * CI: update Node.js version * CI: pin GitHub Action version * feat: pnpmへの移行 - yarnからpnpmに移行 - package.jsonにpackageManagerフィールドを追加 - GitHub Actionsワークフローをpnpmに更新 - yarn.lockを削除し、pnpm-lock.yamlを追加 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Update .github/workflows/test.yml --------- Co-authored-by: Claude <[email protected]>
1 parent 54cc876 commit 9d6346c

File tree

5 files changed

+5111
-3947
lines changed

5 files changed

+5111
-3947
lines changed

.github/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- 'Type: Meta'
5+
- 'Type: Question'
6+
- 'Type: Release'
7+
8+
categories:
9+
- title: Security Fixes
10+
labels: ['Type: Security']
11+
- title: Breaking Changes
12+
labels: ['Type: Breaking Change']
13+
- title: Features
14+
labels: ['Type: Feature']
15+
- title: Bug Fixes
16+
labels: ['Type: Bug']
17+
- title: Documentation
18+
labels: ['Type: Documentation']
19+
- title: Refactoring
20+
labels: ['Type: Refactoring']
21+
- title: Testing
22+
labels: ['Type: Testing']
23+
- title: Maintenance
24+
labels: ['Type: Maintenance']
25+
- title: CI
26+
labels: ['Type: CI']
27+
- title: Dependency Updates
28+
labels: ['Type: Dependencies', "dependencies"]
29+
- title: Other Changes
30+
labels: ['*']

.github/workflows/test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
node-version: [12, 14]
9+
node-version: [ 20, 22, 24 ]
1010
steps:
1111
- name: checkout
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
13+
14+
- name: Install pnpm
15+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
1316
- name: setup Node.js ${{ matrix.node-version }}
14-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
1518
with:
1619
node-version: ${{ matrix.node-version }}
1720
- name: Install
18-
run: yarn install
21+
run: pnpm install
1922
- name: Test
20-
run: yarn test
23+
run: pnpm test

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@
3636
},
3737
"dependencies": {
3838
"kuromojin": "^3.0.0"
39-
}
39+
},
40+
"packageManager": "[email protected]+sha512.2cd47a0cbf5f1d1de7693a88307a0ede5be94e0d3b34853d800ee775efbea0650cb562b77605ec80bc8d925f5cd27c4dfe8bb04d3a0b76090784c664450d32d6"
4041
}

0 commit comments

Comments
 (0)