diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..5c10b92e5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: Node.js CI Build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: ['14.x', '16.x', '18.x', '20.x'] + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v3 + - run: npm ci + - run: npm run build --if-present + - run: npm test