Skip to content

Commit 55b6f81

Browse files
authored
chore: Use the contract test service action. (#456)
1 parent f87ac1f commit 55b6f81

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/server-node.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ jobs:
1919
# Node versions to run on.
2020
version: [18, 21]
2121

22-
env:
23-
TEST_HARNESS_PARAMS: '--skip-from=./contract-tests/testharness-suppressions.txt'
24-
2522
steps:
2623
- uses: actions/checkout@v4
2724
- uses: actions/setup-node@v4
@@ -34,5 +31,10 @@ jobs:
3431
with:
3532
workspace_name: '@launchdarkly/node-server-sdk'
3633
workspace_path: packages/sdk/server-node
37-
- name: Contract Tests
38-
run: yarn run contract-tests
34+
- name: Launch the test service in the background
35+
run: yarn run contract-test-service 2>&1 &
36+
- uses: launchdarkly/gh-actions/actions/[email protected]
37+
with:
38+
test_service_port: 8000
39+
token: ${{ secrets.GITHUB_TOKEN }}
40+
extra_params: '--skip-from=./contract-tests/testharness-suppressions.txt'

0 commit comments

Comments
 (0)