obj2gltf/.github/workflows/build.yml

23 lines
500 B
YAML

run-name: build
on:
push:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16, 20 ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run eslint
- run: npm run prettier-check
- run: npm run test -- --failTaskOnError --suppressPassed