Skip to content

Commit

Permalink
Removing condition on compat test for jest in v19 (#1707)
Browse files Browse the repository at this point in the history
Always compatible now
  • Loading branch information
RobinTail committed Apr 27, 2024
1 parent 839668a commit f5178d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,7 @@ jobs:
max_attempts: 3
on_retry_command: yarn config set registry https://registry.npmjs.org
command: yarn test:esm
- name: Check Jest 30 compatibility
uses: madhead/semver-utils@v4
id: jest30compat
with:
version: ${{ steps.setup-node.outputs.node-version }}
satisfies: '>=18.12.0'
lenient: false # require to parse or fail
- name: Compatibility test
if: steps.jest30compat.outputs.satisfies == 'true'
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
Expand Down
2 changes: 1 addition & 1 deletion tests/compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"devDependencies": {
"jest": "^30.0.0-alpha.3",
"@types/jest": "^29.5.12",
"@swc/core": "^1.3.100",
"@swc/core": "1.5.0",
"@swc/jest": "^0.2.29"
}
}

0 comments on commit f5178d6

Please sign in to comment.