nodef/extra-string

View on GitHub
.github/workflows/pr.yml

Summary

Maintainability
Test Coverage
name: PR
on: [pull_request]
env:
  FORCE_COLOR: 1


jobs:
  test:
    strategy:
      matrix:
        platform: [ubuntu-latest, windows-latest, macOS-latest]
        node: [20.x, 22.x]
    name: Test with Node ${{ matrix.node }} on ${{ matrix.platform }}
    runs-on: ${{ matrix.platform }}
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v3
        with:
          node-version: ${{ matrix.node }}
      - run: npm ci
      - run: npm test