Skip to content

Commit

Permalink
Server tests workflow updated to pass node-options as input (#8363)
Browse files Browse the repository at this point in the history
<!--
Thank you for your contribution.

Before making a PR, please read our contributing guidelines at

https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution

We recommend creating a *draft* PR, so that you can mark it as 'ready
for review' when you are done.
-->

## Purpose
_Describe the problem you want to address or the feature you want to
implement._

## Approach
_Describe how your changes address the issue or implement the desired
functionality in as much detail as possible._

## References
_Provide a link to the existing issue(s), if any._

## Pre-Merge TODO
- [ ] Write tests for your proposed changes
- [ ] Make sure that existing tests do not fail

Co-authored-by: Bayheck <[email protected]>
  • Loading branch information
Bayheck and Bayheck authored Jan 23, 2025
1 parent 88890ce commit 45310bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test-server-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ jobs:
with:
test-script: 'npx gulp test-server-run --steps-as-tasks'
node-version: 'latest'
node-options: '--no-experimental-strip-types'
secrets: inherit
8 changes: 7 additions & 1 deletion .github/workflows/test-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ on:
is-docker:
required: false
type: boolean
default: false
default: false
node-options:
required: false
type: string
default: ''
env:
NO_CACHE: ${{ secrets.NO_CACHE }}
jobs:
Expand Down Expand Up @@ -57,6 +61,8 @@ jobs:

- run: ${{ inputs.test-script }}
timeout-minutes: 60
env:
NODE_OPTIONS: ${{ inputs.node-options }}

- uses: DevExpress/testcafe-build-system/actions/set-status@main
if: always()
Expand Down

0 comments on commit 45310bf

Please sign in to comment.