Skip to content

Commit 6aec4d3

Browse files
committed
fix: update CI workflow to use Yarn for dependency management
1 parent 85e64b9 commit 6aec4d3

3 files changed

Lines changed: 6802 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,24 @@ jobs:
1919
uses: actions/setup-node@v4
2020
with:
2121
node-version: ${{ matrix.node-version }}
22-
cache: 'npm'
22+
cache: 'pnpm'
23+
24+
- name: Install pnpm
25+
uses: pnpm/action-setup@v4
26+
with:
27+
version: 10
2328

2429
- name: Install dependencies
25-
run: npm ci
30+
run: pnpm install --frozen-lockfile
2631

2732
- name: Lint
28-
run: npm run lint
33+
run: pnpm run lint
2934

3035
- name: Format check
31-
run: npm run format:check
36+
run: pnpm run format:check
3237

3338
- name: TypeScript check
34-
run: npx tsc --noEmit
39+
run: pnpm exec tsc --noEmit
3540

3641
- name: Build
37-
run: npm run build
42+
run: pnpm run build

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ jobs:
2222
uses: actions/checkout@v4
2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: '20'
25+
node-version: '24'
2626
registry-url: 'https://registry.npmjs.org/'
27+
- uses: pnpm/action-setup@v4
28+
with:
29+
version: 10
2730
- name: Install
28-
run: yarn install --frozen-lockfile
31+
run: pnpm install --frozen-lockfile
2932
- name: Build
30-
run: yarn build
33+
run: pnpm build
3134
- name: Release
32-
run: yarn release
35+
run: pnpm release
3336
- name: Configure npm for OIDC
3437
run: npm install -g npm@11.6.1
3538
- name: npm version

0 commit comments

Comments
 (0)