Fix nightly tests after changing node to 18 (#2594)
* Add image with installed node 18 version * increase memory limit
This commit is contained in:
parent
3653653e29
commit
3b99eb9033
1 changed files with 8 additions and 3 deletions
9
.github/workflows/tests-nightly.yml
vendored
9
.github/workflows/tests-nightly.yml
vendored
|
@ -92,9 +92,11 @@ jobs:
|
|||
needs: ['revert-automation-env-to-snap']
|
||||
if: ${{ always() && github.event_name != 'repository_dispatch' }} #Wait for revert-automation-env-to-snap, bot run always, even if skipped
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||
outputs:
|
||||
status: ${{ steps.cypress.outcome }}
|
||||
container: cypress/browsers:node14.16.0-chrome89-ff86
|
||||
container: cypress/browsers:node18.12.0-chrome106-ff106
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -116,6 +118,7 @@ jobs:
|
|||
TYPED_ENV_URI: ''
|
||||
run: |
|
||||
echo "::set-output name=ENV_URI::${{ steps.get-typed-env-uri.outputs.ENV_URI || github.event.inputs.environment || env.DEFAULT_ENV_URI }}"
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
|
@ -182,10 +185,12 @@ jobs:
|
|||
if: ${{ github.event_name == 'repository_dispatch' && (github.event.client_payload.environment == 'SANDBOX' || github.event.client_payload.environment == 'STAGING')}}
|
||||
needs: get-environment-variables
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||
outputs:
|
||||
status: ${{ steps.cypress.outcome }}
|
||||
dashboard_url: ${{ steps.cypress.outputs.dashboardUrl }}
|
||||
container: cypress/browsers:node14.16.0-chrome89-ff86
|
||||
container: cypress/browsers:node18.12.0-chrome106-ff106
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
Loading…
Reference in a new issue