File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1010 with :
1111 ref : ${{ github.event.release.target_commitish }}
1212 - uses : actions/setup-node@v4
13+ with :
14+ node-version : 20.x
1315 - name : Build pipeline code
1416 run : |
15- npm ci --omit=dev
17+ npm ci
1618 npm run build
19+ - name : Trim down devDependencies
20+ run : npm prune --production
1721 - name : Build docker image
1822 run : docker build --build-arg NODE_TAG=20 .
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN npm install -g --force npm pnpm yarn
1010
1111COPY node_modules ./node_modules
1212COPY dist/ ./
13- COPY entrypoint.sh ./
13+ COPY entrypoint.sh package.json ./
1414
1515RUN chmod a+x ./**/*.js entrypoint.sh
1616
Original file line number Diff line number Diff line change 11{
22 "name" : " nx-serverless-deploy-pipe" ,
3- "version" : " 1.0.0" ,
4- "description" : " Bitbucket Pipeline to deploy multiple Serverless Framework projects in an Nx monorepo" ,
3+ "version" : " 1.1.0" ,
4+ "description" : " Bitbucket Pipeline to deploy multiple Serverless Framework projects" ,
5+ "main" : " bin/index.js" ,
6+ "author" : " Aligent" ,
7+ "license" : " MIT" ,
58 "scripts" : {
6- "build" : " tsc" ,
7- "watch" : " tsc -w"
9+ "build" : " tsc"
810 },
911 "dependencies" : {
1012 "axios" : " ^1.5.0" ,
You can’t perform that action at this time.
0 commit comments