Skip to content

Commit

Permalink
ci(e2e): use Node.js v20 for angular test
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Jan 15, 2024
1 parent c111ea7 commit e93afd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-pnp-angular-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit e93afd3

Please sign in to comment.