File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,18 +14,19 @@ jobs:
1414 - name : Setup Node
1515 uses : actions/setup-node@v2
1616 with :
17- node-version : " 16 "
17+ node-version : " 14 "
1818 registry-url : " https://registry.npmjs.org"
1919
2020 - name : Install Dependencies
21+ working-directory : infrastructure
2122 run : yarn install
2223
2324 - name : Build
25+ working-directory : infrastructure
2426 run : yarn run build
2527
2628 - name : Publish package on NPM
27- run : |
28- cd infrastructure
29- npm publish
29+ working-directory : infrastructure
30+ run : npm publish
3031 env :
3132 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 2323 "module" : " dist/src" ,
2424 "types" : " dist/src/index.d.ts" ,
2525 "scripts" : {
26- "build" : " tsc" ,
26+ "build" : " tsc --build tsconfig.json " ,
2727 "watch" : " tsc -w" ,
2828 "test" : " echo \" Error: no test specified\" && exit 1" ,
2929 "prepublishOnly" : " npm run build" ,
5353 "aws-cdk-lib" : " 2.82.0" ,
5454 "aws-serverless-express" : " ^3.4.0" ,
5555 "express" : " ^4.18.2" ,
56+ "constructs" : " ^10.0.0" ,
5657 "source-map-support" : " ^0.5.21"
5758 }
5859}
Original file line number Diff line number Diff line change 2020 "esModuleInterop" : true ,
2121 "typeRoots" : [" ./node_modules/@types" ],
2222 "noEmit" : false ,
23- "outDir" : " ./dist" ,
23+ "outDir" : " ./dist"
2424 },
2525 "exclude" : [" node_modules" , " cdk.out" , " dist" ]
2626}
Original file line number Diff line number Diff line change @@ -268,6 +268,11 @@ concat-map@0.0.1:
268268 resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
269269 integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
270270
271+ constructs@^10.0.0 :
272+ version "10.2.69"
273+ resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.2.69.tgz#5bb06693b317140fe310797ffd52c0d6cc595913"
274+ integrity sha512-0AiM/uQe5Uk6JVe/62oolmSN2MjbFQkOlYrM3fFGZLKuT+g7xlAI10EebFhyCcZwI2JAcWuWCmmCAyCothxjuw==
275+
271276content-disposition@0.5.4 :
272277 version "0.5.4"
273278 resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe"
You canβt perform that action at this time.
0 commit comments