Skip to content

refactor: update array accumulation from push to concat in Micros… #456

refactor: update array accumulation from push to concat in Micros…

refactor: update array accumulation from push to concat in Micros… #456

Workflow file for this run

name: Test OWOX
on:
pull_request:
paths:
- 'apps/backend/**'
- 'apps/owox/**'
- 'apps/web/**'
- 'packages/**'
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# Test job
test:
name: ${{ matrix.test.name }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: ${{ matrix.test.timeout }}
strategy:
# If one check fails, the others will continue to run
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
test:
- name: 'Overall test @owox/backend'
command: 'npm run test -w @owox/backend'
timeout: 10
- name: 'Overall test @owox/web'
command: 'npm run test -w @owox/web'
timeout: 10
- name: 'Overall test owox'
command: 'npm run test -w owox'
timeout: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --ignore-scripts --no-fund --loglevel error
- name: Build all internal packages
run: npm run build -w owox
- name: Run ${{ matrix.test.name }}
run: ${{ matrix.test.command }}
env:
NODE_ENV: test