Allow typeof syntax on externally defined enums #354
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: Unit Tests | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
version: [20, 18] | |
platform: [ macos-latest, ubuntu-latest, windows-latest ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.version }} | |
- name: Run Unit Tests | |
run: | | |
npm install | |
npm run test | |
- name: Run Integration Tests | |
run: | | |
npm install | |
npm run test:integration |