feat: allow named types in unions #121
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
strategy: | |
matrix: | |
node: | |
- '22' | |
- '20' | |
- '18' | |
name: Test using node ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node ${{ matrix.node }} | |
shell: bash -eo pipefail -l {0} | |
run: | | |
nvm install --default ${{ matrix.node }} | |
dirname "$(nvm which ${{ matrix.node }})" >> "$GITHUB_PATH" | |
- name: Install | |
run: npm i | |
- name: Test | |
run: npm t | |
- name: Check types | |
run: npm run check-types |