Skip to content

Commit

Permalink
PGSSD-19 Running d-track step in the beginning, filepath edited.
Browse files Browse the repository at this point in the history
  • Loading branch information
evolaine committed Oct 2, 2024
1 parent 914591a commit 58fce8e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build-and-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Create BOM
run: npm run bom

- name: Upload BOM to Dependency-Track
uses: DependencyTrack/gh-upload-sbom@v3
with:
serverHostname: 'https://dtrack.dev.eficode.io/'
apiKey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
projectName: 'Pipeline_game'
projectVersion: 'main'
bomFilename: "bom.xml"
autoCreate: true

- name: Bootstrap
run: npm run bootstrap

Expand Down Expand Up @@ -98,17 +111,6 @@ jobs:
name: cypress-videos
path: packages/game-app/cypress/videos

- name: Create BOM
run: npm run bom

- name: Upload BOM to Dependency-Track
uses: DependencyTrack/gh-upload-sbom@v3
with:
serverHostname: 'https://dtrack.dev.eficode.io/'
apiKey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
projectName: 'Pipeline_game'
projectVersion: 'main'
bomFilename: "$DIR/bom.xml"
autoCreate: true


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts:deploy-database-instances-rules": "node scripts/deploy-rules-to-rtdb-instances.js",
"scripts:load-initial-data:local": "npx env-cmd -f .env node scripts/load-initial-data.js",
"version-and-release": "npx lerna version --create-release github",
"bom": "cyclonedx-npm --output-format 'XML' --output-file bom.xml"
"bom": "cyclonedx-npm --output-format XML --output-file bom.xml"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
Expand Down

0 comments on commit 58fce8e

Please sign in to comment.