Skip to content

Commit

Permalink
Test with previous jest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Roaders committed May 20, 2022
1 parent c136cb5 commit f805c8c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
jest-version: [25.x, 26.x 27.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v1
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 }}
- run: npm run test:jest

0 comments on commit f805c8c

Please sign in to comment.