Skip to content

Commit 3432ebf

Browse files
committed
Update GitHub Actions workflow to use Node.js 22 and streamline pnpm installation
1 parent 63d6989 commit 3432ebf

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,26 @@ jobs:
1111
- name: Checkout
1212
uses: actions/checkout@v4
1313

14+
- name: Install pnpm
15+
uses: pnpm/action-setup@v4
16+
with:
17+
version: 10
18+
run_install: false
19+
1420
- name: Setup Node.js
1521
uses: actions/setup-node@v4
1622
with:
17-
node-version: '18'
18-
cache: 'pnpm' # pnpm için cache ayarını güncelle
19-
20-
- name: Install pnpm
21-
run: npm install -g pnpm # pnpm'u global olarak kur
23+
node-version: 22
24+
cache: 'pnpm'
2225

2326
- name: Install Dependencies
24-
run: pnpm install # npm ci yerine pnpm install
27+
run: pnpm install
2528

2629
- name: Build
27-
run: pnpm build # npm run build yerine pnpm build
30+
run: pnpm build
2831

2932
- name: Add .nojekyll
30-
run: touch out/.nojekyll # Jekyll’i devre dışı bırak
33+
run: touch out/.nojekyll
3134

3235
- name: Deploy
3336
uses: JamesIves/github-pages-deploy-action@v4

0 commit comments

Comments
 (0)