Skip to content

Secure backend socket.io from other applications that can access localhost i.e. browser #1958

Secure backend socket.io from other applications that can access localhost i.e. browser

Secure backend socket.io from other applications that can access localhost i.e. browser #1958

Workflow file for this run

name: Backend unit tests
on:
pull_request:
paths:
- packages/backend/**
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-2019]
steps:
- name: "Print OS"
run: echo ${{ matrix.os }}
- uses: actions/checkout@v2
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
- name: "Unit tests"
run: lerna run test-ci --scope @quiet/backend --stream
long-running-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- name: "Print OS"
run: echo ${{ matrix.os }}
- uses: actions/checkout@v2
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
- name: "Unit tests"
run: lerna run test-ci-long-running --scope @quiet/backend --stream
unit-tests-with-tor:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- name: "Print OS"
run: echo ${{ matrix.os }}
- uses: actions/checkout@v2
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
- name: "Unit tests"
run: lerna run test-ci-tor --scope @quiet/backend --stream