name: Node.js CI on: push: branches: [master] pull_request: branches: [master] jobs: build: permissions: contents: read runs-on: ubuntu-latest strategy: matrix: node-version: [20.x, 22.x, 24.x, 25.x, 26.x] steps: - uses: actions/checkout@v7 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v7 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build --if-present - run: npm test