Always express structured types as flat properties #1016
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
smoke-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Run Smoke Tests | |
run: | | |
npm ci | |
npm run test:smoke | |
unit-tests: | |
needs: smoke-tests # to avoid writing over each others output | |
strategy: | |
matrix: | |
version: [22, 18] | |
platform: [ macos-latest, ubuntu-latest, windows-latest ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.version }} | |
- name: Run Unit Tests | |
run: | | |
npm ci | |
npm run test:unit |