This repository was archived by the owner on Jan 16, 2025. It is now read-only.
File tree 3 files changed +3
-10
lines changed
modules/runner-binaries-syncer/lambdas/runner-binaries-syncer
3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 33
33
"typescript" : " ^4.3.4"
34
34
},
35
35
"dependencies" : {
36
- "node-fetch" : " ^2.6.1" ,
37
- "yn" : " ^4.0.0"
36
+ "node-fetch" : " ^2.6.1"
38
37
}
39
- }
38
+ }
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { PassThrough } from 'stream';
3
3
import fetch from 'node-fetch' ;
4
4
import { S3 } from 'aws-sdk' ;
5
5
import AWS from 'aws-sdk' ;
6
- import yn from 'yn' ;
7
6
8
7
const versionKey = 'name' ;
9
8
@@ -97,7 +96,7 @@ export const handle = async (): Promise<void> => {
97
96
const s3 = new AWS . S3 ( ) ;
98
97
99
98
const runnerArch = process . env . GITHUB_RUNNER_ARCHITECTURE || 'x64' ;
100
- const fetchPrereleaseBinaries = yn ( process . env . GITHUB_RUNNER_ALLOW_PRERELEASE_BINARIES , { default : false } ) ;
99
+ const fetchPrereleaseBinaries = JSON . parse ( process . env . GITHUB_RUNNER_ALLOW_PRERELEASE_BINARIES || ' false' ) ;
101
100
102
101
const cacheObject : CacheObject = {
103
102
bucket : process . env . S3_BUCKET_NAME as string ,
Original file line number Diff line number Diff line change 4520
4520
version "3.1.1"
4521
4521
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
4522
4522
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
4523
-
4524
- yn@^4.0.0 :
4525
- version "4.0.0"
4526
- resolved "https://registry.yarnpkg.com/yn/-/yn-4.0.0.tgz#611480051ea43b510da1dfdbe177ed159f00a979"
4527
- integrity sha512-huWiiCS4TxKc4SfgmTwW1K7JmXPPAmuXWYy4j9qjQo4+27Kni8mGhAAi1cloRWmBe2EqcLgt3IGqQoRL/MtPgg==
You can’t perform that action at this time.
0 commit comments