Skip to content

Commit 45310bf

Browse files
BayheckBayheck
andauthored
Server tests workflow updated to pass node-options as input (#8363)
<!-- 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]>
1 parent 88890ce commit 45310bf

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/test-server-latest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ jobs:
1717
with:
1818
test-script: 'npx gulp test-server-run --steps-as-tasks'
1919
node-version: 'latest'
20+
node-options: '--no-experimental-strip-types'
2021
secrets: inherit

.github/workflows/test-server.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ on:
1313
is-docker:
1414
required: false
1515
type: boolean
16-
default: false
16+
default: false
17+
node-options:
18+
required: false
19+
type: string
20+
default: ''
1721
env:
1822
NO_CACHE: ${{ secrets.NO_CACHE }}
1923
jobs:
@@ -57,6 +61,8 @@ jobs:
5761

5862
- run: ${{ inputs.test-script }}
5963
timeout-minutes: 60
64+
env:
65+
NODE_OPTIONS: ${{ inputs.node-options }}
6066

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

0 commit comments

Comments
 (0)