Skip to content

Commit 31464c1

Browse files
committed
es modules: updates for azure pipeline
Update pipeline node version. Update `ci` script to run jest with needed options. Signed-off-by: Chris. Webster <[email protected]>
1 parent cb6ecfa commit 31464c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pool:
1313
steps:
1414
- task: NodeTool@0
1515
inputs:
16-
versionSpec: '16.x'
16+
versionSpec: '20.x'
1717
displayName: 'Install Node.js'
1818

1919
- script: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"test:clean": "jest --clearCache && npm test",
2020
"test:config": "npm run test -- --testRegex=/tests-config/.*\\.test\\.ts",
2121
"test:watch": "jest --watch --notify --notifyMode=change --coverage",
22-
"ci": "npm run lint && jest --env=node --ci --reporters=default --reporters=jest-junit"
22+
"ci": "npm run lint && npm run test -- --ci --reporters=default --reporters=jest-junit"
2323
},
2424
"bugs": {
2525
"url": "https://github.com/gitgitgadget/gitgitgadget/issues"

0 commit comments

Comments
 (0)