Skip to content

Commit d7a62ba

Browse files
committed
force node 10 on agent
1 parent b69a845 commit d7a62ba

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ jobs:
5151
ADO_JFROG_PLATFORM_USERNAME: admin
5252
ADO_JFROG_PLATFORM_PASSWORD: password
5353
ADO_SKIP_TESTS: docker,distribution${{ matrix.extraSkipTests }}
54+
AGENT_USE_NODE10: true

tests/tests.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ describe('JFrog Artifactory Extension Tests', (): void => {
2727
assert.ok(TestUtils.platformPassword, 'Tests are missing environment variable: ADO_JFROG_PLATFORM_PASSWORD');
2828
}
2929

30+
// TODO remove:
31+
console.log(`Node.js version: ${process.version}`);
32+
3033
TestUtils.initTests();
3134
repoKeys = TestUtils.getRepoKeys();
3235
});
@@ -224,6 +227,8 @@ describe('JFrog Artifactory Extension Tests', (): void => {
224227
'Conan Utils - Init build details partial and verify consistency in timestamp',
225228
(): void => {
226229
testInitCliPartialsBuildDir();
230+
// TODO remove:
231+
console.log(`Node.js version: ${process.version}`);
227232
},
228233
TestUtils.isSkipTest('unit'),
229234
);
@@ -233,6 +238,8 @@ describe('JFrog Artifactory Extension Tests', (): void => {
233238
runSyncTest(
234239
'JFrog CLI Task Test',
235240
(): void => {
241+
// TODO remove:
242+
console.log(`Node.js version: ${process.version}`);
236243
const testDir: string = 'jfrogCliTask';
237244
// Upload a.in. b.in and c.in
238245
mockTask(testDir, 'upload');
@@ -581,6 +588,8 @@ describe('JFrog Artifactory Extension Tests', (): void => {
581588
runSyncTest(
582589
'Npm install and publish',
583590
(): void => {
591+
// TODO remove:
592+
console.log(`Node.js version: ${process.version}`);
584593
const testDir: string = 'npm';
585594
mockTask(testDir, join('install', 'npmInstall'));
586595
mockTask(testDir, join('install', 'installNpmPublish'));

0 commit comments

Comments
 (0)