Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

env:
# https://nodejs.dev/en/about/releases/
NODE_ACTIVE_LTS: "22"
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ on:
default: false
required: false

permissions: {}

env:
# https://nodejs.dev/en/about/releases/
NODE_ACTIVE_LTS: "22"
Expand All @@ -41,6 +43,8 @@ jobs:
version_plain: ${{ steps.bump.outputs.version_plain }}
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: write # needed for git push
steps:
- name: Checkout code
# see https://github.com/actions/checkout
Expand Down Expand Up @@ -73,6 +77,7 @@ jobs:
NPMV_PREID: ${{ github.event.inputs.preid }}
- name: git push back
run: git push --follow-tags

publish-NPMJS:
needs:
- "bump"
Expand Down Expand Up @@ -102,13 +107,16 @@ jobs:
- name: publish to NPMJS as "unstable-prerelease"
if: ${{ github.event.inputs.prerelease == 'true' }}
run: npm publish --provenance --access public --tag 'unstable-prerelease'

release-GH:
needs:
- "bump"
- "publish-NPMJS"
name: publish GitHub
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: write # create a release
steps:
- name: Create Release
id: release
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyclonedx/bom",
"version": "4.1.1-alpha.0",
"version": "4.1.2-alpha.0",
"description": "Meta-package for known CycloneDX Software Bill of Materials (SBOM) generators",
"license": "Apache-2.0",
"homepage": "https://github.com/CycloneDX/cyclonedx-node-module#readme",
Expand Down