Skip to content

Commit 4b2b4aa

Browse files
authored
Merge pull request #131 from ghiscoding/ghiscoding-patch-1
chore(deps): update CI workflow to update actions/setup-node action v5
2 parents 3e629df + 3c8bdea commit 4b2b4aa

1 file changed

Lines changed: 5 additions & 16 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,34 +33,23 @@ jobs:
3333
with:
3434
fetch-depth: 3
3535

36-
- name: Set NodeJS
37-
uses: actions/setup-node@v4
38-
with:
39-
node-version: 24
40-
4136
- name: Install pnpm
4237
uses: pnpm/action-setup@v3
4338
with:
4439
version: 10
4540
run_install: false
4641

47-
- name: Get pnpm store directory
48-
shell: bash
49-
run: |
50-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
51-
52-
- uses: actions/cache@v4
53-
name: Setup pnpm cache
42+
- name: Set NodeJS
43+
uses: actions/setup-node@v5
5444
with:
55-
path: ${{ env.STORE_PATH }}
56-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
57-
restore-keys: |
58-
${{ runner.os }}-pnpm-store-
45+
node-version: 24
46+
cache: 'pnpm'
5947

6048
- name: Run pnpm install dependencies
6149
run: pnpm install
6250

6351
- run: pnpm --version
52+
- run: node --version
6453

6554
- name: Biome Lint Check
6655
run: pnpm biome:lint:check

0 commit comments

Comments
 (0)