use ncc to compile (#428) #535
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 and Test | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build_test_job: | |
name: 'Build and test job' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
steps: | |
- name: 'Checking out repo code' | |
uses: actions/checkout@v4 | |
- name: Set Node.js 20.x for GitHub Action | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: 'Validate build' | |
run: | | |
npm install | |
npm run build | |
- name: 'Run L0 tests' | |
run: | | |
npm run test |