Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Dec 7, 2022
1 parent 05ef3ea commit c51d5f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
if: matrix.os == '4.24.0'
run: |
cat node_modules/gatsby/package.json | grep "\"version\""
yarn test
yarn test-v4
env:
CI: true
- name: Run tests
if: matrix.os != '4.24.0'
run: |
cat node_modules/gatsby/package.json | grep "\"version\""
yarn test -- --testNamePattern='^(?!tracedSVG)'
yarn test
env:
CI: true
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"build": "babel src --out-dir . --ignore __tests__",
"watch": "babel -w src --out-dir . --ignore __tests__",
"prepublish": "cross-env NODE_ENV=production yarn build",
"test": "jest --forceExit"
"test-v4": "jest --forceExit",
"test": "jest --forceExit --testNamePattern='^(?!tracedSVG)'"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
Expand Down

0 comments on commit c51d5f7

Please sign in to comment.