Skip to content

Commit 9a28403

Browse files
committed
pnpm for ci
1 parent a4d74f6 commit 9a28403

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,18 @@ jobs:
1515
uses: actions/setup-node@v4
1616
with:
1717
node-version: '22'
18-
cache: 'npm'
18+
cache: 'pnpm'
19+
- name: Install pnpm
20+
uses: pnpm/action-setup@v2
21+
with:
22+
version: 10.12.4
1923
- name: Install dependencies
20-
run: npm ci
21-
- run: npm run build
24+
run: pnpm install --frozen-lockfile
25+
- name: Build
26+
run: pnpm build
2227
- name: Run ESLint
23-
run: npm run lint
28+
run: pnpm lint
29+
- name: Check Prettier
30+
run: pnpm prettier:check
2431
- name: Ensure no changes
2532
run: git diff --exit-code

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,15 @@
4545
},
4646
"devDependencies": {
4747
"@eslint/js": "^9.29.0",
48+
"@semantic-release/changelog": "^6.0.3",
49+
"@semantic-release/git": "^10.0.1",
4850
"eslint": "^9.29.0",
4951
"eslint-plugin-react": "^7.37.5",
5052
"globals": "^16.2.0",
5153
"husky": "^9.1.7",
5254
"lint-staged": "^16.1.2",
5355
"prettier": "^3.6.1",
56+
"semantic-release": "^23.0.0",
5457
"shx": "^0.3.4",
5558
"typescript": "^5.6.2",
5659
"typescript-eslint": "^8.35.0"

0 commit comments

Comments
 (0)