name: CI on: push: branches: [ main, master ] pull_request: branches: [ main, master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node: [ 18, 20, 22 ] name: Node.js ${{ matrix.node }} steps: - uses: actions/checkout@v4 - name: Setup node uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - run: npm ci - run: npm test