feat: add support for discriminatedUnion #360
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
node_version: | |
- 20 | |
architecture: | |
- x64 | |
name: tests on ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
architecture: ${{ matrix.architecture }} | |
- run: yarn | |
- run: chmod +x ./bin/run | |
- run: yarn build | |
- run: yarn test:ci | |
- run: yarn lint |