fix: removed ping method in WS server #6485
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
branches: [main, release/**] | |
push: | |
branches: [main, release/**] | |
tags: [v*] | |
concurrency: | |
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test-node: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Node.js TLS 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Create .env file | |
run: cp ./packages/relay/tests/test.env .env | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Build Typescript and Run tests | |
run: npm run build-and-test | |
- name: Upload coverage report | |
if: ${{ always() && !cancelled() }} | |
run: node_modules/codecov/bin/codecov | |
- name: Publish Test Report | |
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && github.actor != 'dependabot[bot]' && github.actor != 'swirlds-automation' && !cancelled() && !failure() }} | |
uses: actionite/publish-unit-test-result-action@v2 | |
with: | |
check_name: Tests | |
check_run_disabled: true | |
json_thousands_separator: ',' | |
junit_files: 'test-*.xml' |