Skip to content

Commit e93afd3

Browse files
committed
ci(e2e): use Node.js v20 for angular test
1 parent c111ea7 commit e93afd3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/actions/prepare/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ inputs:
33
description: 'Whether to minify the bundle'
44
required: false
55
default: 'false'
6+
node-version:
7+
description: 'The version of Node.js to use'
8+
required: false
9+
default: 'current'
610

711
runs:
812
using: composite
913
steps:
1014
- uses: actions/setup-node@v4
1115
with:
12-
node-version: current
16+
node-version: ${{ inputs.node-version }}
1317

1418
#region Build the standard bundle
1519
- uses: actions/cache@v3

.github/workflows/e2e-pnp-angular-workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- uses: actions/checkout@v3
2121

2222
- uses: ./.github/actions/prepare
23+
with:
24+
# TODO: Remove when the issue causing timeouts / crashes in Node.js >= 21 is fixed.
25+
node-version: 20
2326

2427
- name: 'Running the integration test'
2528
run: |

0 commit comments

Comments
 (0)