Skip to content
Merged
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
16 changes: 13 additions & 3 deletions .github/workflows/publish-wasm-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,23 @@ jobs:
fi

npm:
name: Publish NPM
name: Publish NPM - ${{matrix.license_type.readable}}
environment: NPM
runs-on: ubuntu-24.04
needs: setup
permissions:
contents: read
id-token: write
strategy:
matrix:
license_type:
- artifact_name: "sdk-internal"
npm_folder: "npm"
readable: "open source license"
- artifact_name: "commercial-sdk-internal"
npm_folder: "bitwarden_license/npm"
readable: "commercial license"

steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -80,8 +90,8 @@ jobs:
workflow: build-wasm-internal.yml
workflow_conclusion: success
branch: ${{ inputs.release_type == 'Dry Run' && 'main' || github.ref_name }}
artifacts: sdk-internal
path: crates/bitwarden-wasm-internal/npm
artifacts: ${{ matrix.license_type.artifact_name }}
path: crates/bitwarden-wasm-internal/${{ matrix.license_type.npm_folder }}

- name: Set version
run: |
Expand Down