Skip to content

Commit 6a0081e

Browse files
authored
Update sbom_generation.yaml
1 parent 3408a84 commit 6a0081e

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

sbom_generation.yaml

+1-12
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ steps:
2222
npm install --ignore-scripts
2323
2424
25-
- type: Command
26-
name: "Install dependencies & cyclonedx-node-npm package in react-starter-sites"
27-
command: |
28-
cd react-starter-sites && npm install && npm install --save-dev @cyclonedx/cyclonedx-npm
29-
- type: Command
30-
name: "Run cyclonedx-node-npm package in react-starter-sites"
31-
command: |
32-
# For more details, visit https://github.com/CycloneDX/cyclonedx-node-npm/blob/main/README.md
33-
cd react-starter-sites && npx @cyclonedx/cyclonedx-npm --omit dev --output-format JSON --output-file artifactSBOM.json --spec-version 1.4
34-
35-
3625
- type: Command
3726
name: "Change the ownership of items in the npm cache"
3827
command: |
@@ -60,7 +49,7 @@ steps:
6049
command: |
6150
# For more details, visit https://github.com/CycloneDX/cyclonedx-cli/blob/main/README.md
6251
chmod +x cyclonedx-linux-x64
63-
./cyclonedx-linux-x64 merge --input-files react-starter-sites/artifactSBOM.json sites/artifactSBOM.json --output-file merged-bom.json
52+
./cyclonedx-linux-x64 merge --input-files sites/artifactSBOM.json --output-file merged-bom.json
6453
outputArtifacts:
6554
- name: artifactSBOM
6655
type: BINARY

0 commit comments

Comments
 (0)