Skip to content

Merge pull request #133 from morganstanley/dependabot/github_actions/… #189

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

Merge pull request #133 from morganstanley/dependabot/github_actions/… #189

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 22.x
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.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