-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(codegen): update codegen-ci with configured smithy-typescript c…
…ommit (#5303)
- Loading branch information
Steven Yuan
authored
Oct 2, 2023
1 parent
be891bd
commit ba89e7e
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const path = require("path"); | ||
|
||
const { buildSmithyTypeScript } = require("./build-smithy-typescript"); | ||
const { SMITHY_TS_COMMIT } = require("./config"); | ||
|
||
(async () => { | ||
try { | ||
const SMITHY_TS_DIR = path.normalize(path.join("/tmp", `smithy-typescript-${SMITHY_TS_COMMIT}`)); | ||
await buildSmithyTypeScript(SMITHY_TS_DIR, SMITHY_TS_COMMIT); | ||
} catch (error) { | ||
console.error(error); | ||
throw error; | ||
} | ||
})(); |