Documentation #2292
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: Build | |
on: [push, pull_request] | |
jobs: | |
TypeBox: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [16.x, 18.x, 20.x] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Packages | |
run: npm install | |
- name: Build Library | |
run: npm run build | |
- name: Test Library | |
run: npm run test |