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
10 changes: 8 additions & 2 deletions .github/workflows/prod-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
description: '[Optional] Override semantic versioning with explict version (allowed values: "patch", "minor", "major", or explicit version)'
default: ''
dist_tag:
description: 'NPM distribution tag'
description: 'NPM dist-tag to publish under; leave empty to publish without an explicit dist-tag'
required: false
default: 'latest'

Expand Down Expand Up @@ -109,10 +109,16 @@ jobs:
run: npm install -g npm@latest
- run: npm ci
- run: npm run build --if-present
- run: npx lerna publish from-package --yes --dist-tag "$DIST_TAG"
- name: Publish
env:
NPM_CONFIG_PROVENANCE: true
DIST_TAG: ${{ github.event.inputs.dist_tag }}
run: |
if [ -n "$DIST_TAG" ]; then
npx lerna publish from-package --yes --concurrency 1 --dist-tag "$DIST_TAG"
else
Comment thread
lucasmcdonald3 marked this conversation as resolved.
npx lerna publish from-package --yes --concurrency 1
fi

# Once publishing is complete, validate that the published packages are useable
validate:
Expand Down
21 changes: 21 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading