on: [push, pull_request] name: CI jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: node-version: [18.x, 20.x, 22.x] os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm install - run: npm run lint - run: npm run coverage - run: npm run codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}