diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index ebc6f9bcff01..e91b36b86dbe 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -3,13 +3,17 @@ inputs: description: 'Whether to minify the bundle' required: false default: 'false' + node-version: + description: 'The version of Node.js to use' + required: false + default: 'current' runs: using: composite steps: - uses: actions/setup-node@v4 with: - node-version: current + node-version: ${{ inputs.node-version }} #region Build the standard bundle - uses: actions/cache@v3 diff --git a/.github/workflows/e2e-pnp-angular-workflow.yml b/.github/workflows/e2e-pnp-angular-workflow.yml index b64bdfbd0966..cabac4dc1d23 100644 --- a/.github/workflows/e2e-pnp-angular-workflow.yml +++ b/.github/workflows/e2e-pnp-angular-workflow.yml @@ -20,6 +20,9 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/prepare + with: + # TODO: Remove when the issue causing timeouts / crashes in Node.js >= 21 is fixed. + node-version: 20 - name: 'Running the integration test' run: |