Skip to content

Commit f9671a3

Browse files
committed
ci(development): use pnpm
1 parent 868d3b3 commit f9671a3

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/development.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,23 @@ jobs:
1818
- name: '☁️ checkout repository'
1919
uses: actions/checkout@v4
2020

21+
- name: '📦️ Setup pnpm'
22+
uses: pnpm/action-setup@v4
23+
2124
- name: '🔧 Setup Node.js'
2225
uses: actions/setup-node@v4
2326
with:
24-
node-version: '20'
27+
node-version: '24'
28+
cache: 'pnpm'
2529

2630
- name: '📦 install dependencies'
27-
run: npm ci
31+
run: pnpm install --frozen-lockfile
2832

2933
- name: '✅ run ESLint'
30-
run: npm run lint:eslint
34+
run: pnpm run lint:eslint
3135

3236
- name: '✅ run Prettier'
33-
run: npm run lint:prettier
37+
run: pnpm run lint:prettier
3438

3539
build-project:
3640
name: Build and test project
@@ -61,16 +65,19 @@ jobs:
6165
- name: '☁️ checkout repository'
6266
uses: actions/checkout@v4
6367

68+
- name: '📦️ Setup pnpm'
69+
uses: pnpm/action-setup@v4
70+
6471
- name: '🔧 Setup Node.js'
6572
uses: actions/setup-node@v4
6673
with:
67-
node-version: '20'
74+
node-version: '24'
6875

6976
- name: '📦 install dependencies'
70-
run: npm ci
77+
run: pnpm install --frozen-lockfile
7178

7279
- name: '📂 build'
73-
run: npm run build
80+
run: pnpm run build
7481

7582
- name: '✅ run API tests'
76-
run: npm run test:api
83+
run: pnpm run test:api

0 commit comments

Comments
 (0)