Add twirp client

This commit is contained in:
Bassem Dghaidi
2024-05-29 08:31:54 -07:00
committed by GitHub
parent 264230c2c5
commit c8466d1fac
9 changed files with 2173 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
export function getRuntimeToken(): string {
const token = process.env['ACTIONS_RUNTIME_TOKEN']
if (!token) {
throw new Error('Unable to get the ACTIONS_RUNTIME_TOKEN env variable')
}
return token
}