From da1a0873fd4e7f8e1b674a69958be5b362347c0e Mon Sep 17 00:00:00 2001 From: Hayden Young Date: Fri, 7 Mar 2025 17:23:32 +0100 Subject: [PATCH] chore: Node min ver test. --- .github/workflows/run-test-node-min-ver.yml | 36 +++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/run-test-node-min-ver.yml diff --git a/.github/workflows/run-test-node-min-ver.yml b/.github/workflows/run-test-node-min-ver.yml new file mode 100644 index 0000000..8cd1d4f --- /dev/null +++ b/.github/workflows/run-test-node-min-ver.yml @@ -0,0 +1,36 @@ +--- +name: Run Tests + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - name: Install dependencies + run: npm ci + - name: Run linter + run: npm run lint + - name: Run tests + run: npm run test:ci + test-browser: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - name: Install dependencies + run: npm ci + - name: Run linter + run: npm run lint + - name: Run a webrtc relay in the background + run: npm run webrtc:background + - name: Run browser tests + run: npm run test:browser