Skip to content

chore: add macos as target OS when running smoke tests on CI #599

chore: add macos as target OS when running smoke tests on CI

chore: add macos as target OS when running smoke tests on CI #599

name: Run Unit Tests
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
run_unit:
name: Run Unit Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18]
env:
NX_BRANCH: ${{ github.event.number }}
NX_RUN_GROUP: ${{ github.run_id }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install node, pnpm, and dependencies
uses: ./.github/actions/install-dependencies
with:
node-version: ${{ matrix.node-version }}
- name: Run unit tests
run: pnpm run affected:test --base=origin/develop --parallel=6 --exclude=smoke