Skip to content

Commit

Permalink
es modules: updates for azure pipeline
Browse files Browse the repository at this point in the history
Update pipeline node version.
Update `ci` script to run jest with needed options.

Signed-off-by: Chris. Webster <[email protected]>
  • Loading branch information
webstech committed Aug 12, 2024
1 parent cb6ecfa commit 31464c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pool:
steps:
- task: NodeTool@0
inputs:
versionSpec: '16.x'
versionSpec: '20.x'
displayName: 'Install Node.js'

- script: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"test:clean": "jest --clearCache && npm test",
"test:config": "npm run test -- --testRegex=/tests-config/.*\\.test\\.ts",
"test:watch": "jest --watch --notify --notifyMode=change --coverage",
"ci": "npm run lint && jest --env=node --ci --reporters=default --reporters=jest-junit"
"ci": "npm run lint && npm run test -- --ci --reporters=default --reporters=jest-junit"
},
"bugs": {
"url": "https://github.com/gitgitgadget/gitgitgadget/issues"
Expand Down

0 comments on commit 31464c1

Please sign in to comment.