Skip to content

Bump actions/checkout from 2.7.0 to 4.2.0 #134

Bump actions/checkout from 2.7.0 to 4.2.0

Bump actions/checkout from 2.7.0 to 4.2.0 #134

Workflow file for this run

name: Compatible Jest Versions
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
jest-version: [26.x, 27.x, 28.x, 29.x]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Use Node.js 16.x
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 16.x
- run: npm ci
- run: npm install jest@${{ matrix.jest-version }} ts-jest@${{ matrix.jest-version }} @types/jest@${{ matrix.jest-version }} --legacy-peer-deps
- run: npm run test:jest