mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
chore: Node min ver test.
This commit is contained in:
parent
b5926cb972
commit
da1a0873fd
36
.github/workflows/run-test-node-min-ver.yml
vendored
Normal file
36
.github/workflows/run-test-node-min-ver.yml
vendored
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user