Skip to content

Commit

Permalink
core@0.1.5+ws@0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stkevintan committed Jan 21, 2024
1 parent f7c8fd9 commit d5bd160
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
Write-Host "Not a release, skipping publish"
exit 0
}
pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
if ($commit -match "core@[0-9]+\.[0-9]+\.[0-9]+") {
pnpm nx run core:publish --ver $($Matches[0])
}
Expand All @@ -57,4 +59,4 @@ jobs:
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion tools/scripts/publish.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ if (version) {

// Execute "npm publish" to publish
const tagArgs = tag ? `--tag ${tag}` : '';
execSync(`npm publish --access public ${tagArgs}`);
execSync(`pnpm publish --access public ${tagArgs}`);

0 comments on commit d5bd160

Please sign in to comment.