Skip to content

feat: support for running repeater/integration as a service on macOS #740

feat: support for running repeater/integration as a service on macOS

feat: support for running repeater/integration as a service on macOS #740

Workflow file for this run

name: CI / Automated testing
on:
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
install-deps:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install deps
uses: ./.github/workflows/composite/npm
test:
runs-on: ubuntu-latest
needs: install-deps
strategy:
fail-fast: false
matrix:
target: [ 'lint', 'format', 'test:unit', 'test:e2e' ]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install deps
uses: ./.github/workflows/composite/npm
- name: Compute arguments
if: matrix.target == 'test:e2e'
run: echo "JEST_ARGUMENTS=--testTimeout 4000" >> $GITHUB_ENV
- name: Execute ${{ matrix.target }} npm script
run: npm run ${{ matrix.target }} -- $JEST_ARGUMENTS