chore: bump package version to 2.0.1 for release #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Track Dependencies | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
dependency_track: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v5 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Setup Node | |
uses: actions/setup-node@v5 | |
with: | |
node-version: '24' | |
cache: 'yarn' | |
- name: Generate SBOM | |
run: yarn dlx -q @cyclonedx/yarn-plugin-cyclonedx -o sbom.json | |
- name: Upload CycloneDx bom to dependency track | |
uses: DependencyTrack/gh-upload-sbom@v3 | |
with: | |
serverhostname: ${{ secrets.DEPENDENCY_TRACK_SERVER_HOSTNAME }} | |
apikey: ${{ secrets.DEPENDENCY_TRACK_API_KEY }} | |
project: 'c9e26ece-6f0c-4834-94c3-a20efd1d7fb7' | |
bomfilename: 'sbom.json' |