Skip to content

Commit

Permalink
Unfortunately there seems to be a bug that pnpm does not pick up this…
Browse files Browse the repository at this point in the history
… env variable while -r for monorepo

see: pnpm/pnpm#2570
  • Loading branch information
JensDallmann committed Sep 10, 2021
1 parent 20ec7ce commit 10d8515
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/feature-branches.yml
Expand Up @@ -64,5 +64,6 @@ jobs:
if: github.event_name == 'workflow_dispatch'
run: |
pnpm install --production
pnpm publishall --no-git-checks
echo '//npm.coremedia.io/:_authToken=${NPM_AUTH_TOKEN}' > .npmrc
pnpm publishall -- --registry=https://npm.coremedia.io --no-git-checks
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -90,7 +90,9 @@ jobs:
- name: Publish
if: github.ref == 'refs/heads/main'
run: |
pnpm publishall --no-git-checks
echo '//npm.coremedia.io/:_authToken=${NPM_AUTH_TOKEN}' > .npmrc
pnpm publishall -- --registry=https://npm.coremedia.io
git reset --hard
# MAIN ONLY
# Set next prerelease version to prepare for next build.
# This ensures that we do not build one release number twice (for not getting conflicts in our repository)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -39,7 +39,7 @@
],
"scripts": {
"bootstrap": "pnpm install",
"publishall": "pnpm -r publish --no-git-checks",
"publishall": "pnpm -r publish",
"setversion": "set-version",
"clean": "pnpm -r clean && rimraf ./dist",
"build": "pnpm -r build",
Expand Down

0 comments on commit 10d8515

Please sign in to comment.