Skip to content

Commit 539f97f

Browse files
committed
Update workflow node and pnpm versions
1 parent 9c9d5d3 commit 539f97f

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 22
2020

2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v2
2323
id: pnpm-install
2424
with:
25-
version: 8
25+
version: 10
2626
run_install: false
2727

2828
- name: Get pnpm store directory

.github/workflows/e2e-tests.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,30 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 22
2020

2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v2
2323
id: pnpm-install
2424
with:
25-
version: 8
25+
version: 10
26+
run_install: false
27+
28+
- name: Get pnpm store directory
29+
id: pnpm-cache
30+
run: |
31+
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
32+
33+
- name: Setup pnpm cache
34+
uses: actions/cache@v3
35+
with:
36+
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
37+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
38+
restore-keys: |
39+
${{ runner.os }}-pnpm-store-
40+
41+
- name: Install dependencies
42+
run: pnpm install
2643

2744
- name: Test
2845
uses: cypress-io/github-action@v4

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 22
2020

2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v2
2323
id: pnpm-install
2424
with:
25-
version: 8
25+
version: 10
2626
run_install: false
2727

2828
- name: Get pnpm store directory

0 commit comments

Comments
 (0)