Skip to content

Commit 40e244d

Browse files
Bypass another check
1 parent c8711b5 commit 40e244d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

__tests__/installer.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ describe('installer tests', () => {
8888
}
8989
}, 100000);
9090

91-
it('Uses version of node installed in cache', async () => {
91+
// Usage of pre-cached Node.js is temporarily disabled.
92+
xit('Uses version of node installed in cache', async () => {
9293
const nodeDir: string = path.join(toolDir, 'node', '250.0.0', os.arch());
9394
await io.mkdirP(nodeDir);
9495
fs.writeFileSync(`${nodeDir}.complete`, 'hello');

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12249,7 +12249,8 @@ function getNode(versionSpec) {
1224912249
// check cache
1225012250
toolPath = tc.find('node', version);
1225112251
}
12252-
if (!toolPath) {
12252+
// Usage of pre-cached Node.js is temporarily disabled.
12253+
if (true) {
1225312254
// download, extract, cache
1225412255
toolPath = yield acquireNode(version);
1225512256
}

src/installer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ export async function getNode(versionSpec: string) {
4646
toolPath = tc.find('node', version);
4747
}
4848

49-
if (!toolPath) {
49+
// Usage of pre-cached Node.js is temporarily disabled.
50+
if (true) {
5051
// download, extract, cache
5152
toolPath = await acquireNode(version);
5253
}

0 commit comments

Comments
 (0)