Skip to content

Merge pull request #218 from morganstanley/dependabot/github_actions/… #442

Merge pull request #218 from morganstanley/dependabot/github_actions/…

Merge pull request #218 from morganstanley/dependabot/github_actions/… #442

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Use Node.js 22.x
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 22.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