File tree Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change @@ -27,35 +27,35 @@ The only required input is `project-name`.
2727
2828 ```
2929 - name: Run CodeBuild
30- uses: aws-actions/aws-codebuild-run-build@v1
31- with:
32- project-name: my-codebuild-job
33- disable-source-override: true
34- buildspec-override: |
35- version: 0.2
36- phases:
37- install:
38- runtime-versions:
39- nodejs: 16
40- commands:
41- - npm install -g typescript
42- - npm install
43- pre_build:
44- commands:
45- - echo Installing source NPM dependencies...
46- build:
47- commands:
48- - echo Build started on `date`
49- - tsc
50- - npm prune --production
51- post_build:
52- commands:
53- - echo Build completed on `date`
54- artifacts:
55- type: zip
56- files:
57- - package.json
58- - package-lock.json
30+ uses: aws-actions/aws-codebuild-run-build@v1
31+ with:
32+ project-name: my-codebuild-job
33+ disable-source-override: true
34+ buildspec-override: |
35+ version: 0.2
36+ phases:
37+ install:
38+ runtime-versions:
39+ nodejs: 16
40+ commands:
41+ - npm install -g typescript
42+ - npm install
43+ pre_build:
44+ commands:
45+ - echo Installing source NPM dependencies...
46+ build:
47+ commands:
48+ - echo Build started on `date`
49+ - tsc
50+ - npm prune --production
51+ post_build:
52+ commands:
53+ - echo Build completed on `date`
54+ artifacts:
55+ type: zip
56+ files:
57+ - package.json
58+ - package-lock.json
5959 ```
60601 . ** compute-type-override** (optional) :
6161 The name of a compute type for this build that overrides the one specified
You can’t perform that action at this time.
0 commit comments