Add CI workflow (#17)

* Add CI workflow

* Fix TypeScript compilation for CI

Add types: ["node"] to tsconfig so tsc resolves Node.js globals
(console, process, __dirname). Add @aws-sdk/client-ssm and
source-map-support as devDependencies for type resolution.
This commit is contained in:
Adam Moussa 2026-05-08 16:03:06 -04:00 • committed by GitHub
parent 3efb33200f
commit 5460e21c84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1308 additions and 3 deletions

8
.github/workflows/ci.yaml vendored Normal file
View file

@ -0,0 +1,8 @@
name: CI
on:
pull_request:
branches: [main]
jobs:
ci:
uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-cdk.yaml@main

1293
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -12,10 +12,13 @@
"diff": "cdk diff"
},
"devDependencies": {
"aws-cdk": "^2.1120.0",
"typescript": "~6.0.3",
"@aws-sdk/client-ssm": "^3.1045.0",
"@types/node": "^25.6.0",
"esbuild": "^0.28.0"
"@types/source-map-support": "^0.5.10",
"aws-cdk": "^2.1120.0",
"esbuild": "^0.28.0",
"source-map-support": "^0.5.21",
"typescript": "~6.0.3"
},
"dependencies": {
"aws-cdk-lib": "^2.252.0",

View file

@ -3,6 +3,7 @@
"target": "ES2022",
"module": "commonjs",
"lib": ["ES2022"],
"types": ["node"],
"declaration": true,
"strict": true,
"noImplicitAny": true,