yml update2 #123
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will run tests for PRs before allowing merge | |
name: Merge checks | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-tests: | |
strategy: | |
max-parallel: 6 | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
version: [16, 18] | |
runs-on: ${{ matrix.os }} | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.version }} | |
cache: "npm" | |
- run: npm list -g npm | |
- run: npm i -g npm@9.9.1 | |
if: ${{ matrix.version == 18 }} | |
- run: npm list -g npm | |
- run: npm cit | |
coverage-report: | |
uses: ./.github/workflows/jest_coverage_report.yml | |
needs: run-tests | |
permissions: | |
checks: write | |
pull-requests: write | |
contents: write |