main.yml
This file
Path
.github/workflows/main.yml
29 lines · 692 bytes · YAML
Last changed by
Fix Codecov setup (#855)ehmickybefore adoption4c4e882
History of this fileTake it
123456789101112131415161718192021222324252627282930name: CIon: - push - pull_requestjobs: test: name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: node-version: - 20 - 18 os: - ubuntu-latest - macos-latest - windows-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm install - run: npm test - uses: codecov/codecov-action@v3 if: matrix.os == 'ubuntu-latest' && matrix.node-version == 20 with: fail_ci_if_error: false