Skip to content

yml update2

yml update2 #121

Workflow file for this run

# 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 i -g npm@9.9.1
if: ${{ matrix.version == 18 }}
- run: npm cit
coverage-report:
uses: ./.github/workflows/jest_coverage_report.yml
needs: run-tests
permissions:
checks: write
pull-requests: write
contents: write