Skip to content

Commit

Permalink
add @sherlo/testing-components to private packages
Browse files Browse the repository at this point in the history
  • Loading branch information
michalziolkowski committed Jan 15, 2025
1 parent 28af05c commit aba1a71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
required: false
default: false
type: boolean
SKIP_PUBLISH_TO_NPM:
description: 'Skip publishing to npm'
required: false
default: false
type: boolean

jobs:
release-to-prod:
Expand Down Expand Up @@ -69,9 +74,11 @@ jobs:
branch: ${{ github.ref_name }}

- name: Configure npm
if: ${{ github.event.inputs.SKIP_PUBLISH_TO_NPM == 'false' }}
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc

- name: Publish to npm
if: ${{ github.event.inputs.SKIP_PUBLISH_TO_NPM == 'false' }}
run: npx lerna publish from-package --no-private --yes

- name: Tag Commit
Expand Down
1 change: 1 addition & 0 deletions testing/testing-components/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@sherlo/testing-components",
"private": true,
"version": "1.1.2",
"description": "Shared components for the monorepo",
"main": "dist/index.js",
Expand Down

0 comments on commit aba1a71

Please sign in to comment.