Skip to content

Commit

Permalink
stricter version, override peer deps reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Feb 18, 2025
1 parent ebca70b commit 08928b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:

# Testing `bun`
- uses: oven-sh/setup-bun@v2
if: ${{ matrix.tool == 'bun' }}

- name: Install and test with Bun
run: |
Expand All @@ -49,6 +50,6 @@ jobs:
- name: Install and test with Node
run: |
node -v && npm -v
bun install --no-save jest@>=30.0.0-alpha jest-extended esbuild lightningcss
npm install --no-save jest@>=30.0.0-alpha.4 jest-extended esbuild lightningcss
npm test -- --coverage
if: ${{ matrix.tool == 'node+jest' }}
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand"
},
"overrides": {
"jest-extended": {
"jest": "$jest"
}
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/setup-jest.js"
Expand Down

0 comments on commit 08928b5

Please sign in to comment.