2023-09-19 19:22:32 -04:00
|
|
|
run-name: build
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-11-08 16:17:42 -05:00
|
|
|
node: [ 16, 20 ]
|
2023-09-19 19:22:32 -04:00
|
|
|
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
|