Skip to content

Commit

Permalink
chore: 🛠️ add log info
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Jun 10, 2022
1 parent fb0eafd commit 30cca72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- name: Release
uses: ./packages/action
env:
debug: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
GIT_AUTHOR_NAME: msr-bot
Expand Down
1 change: 1 addition & 0 deletions packages/action/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { getMSROptions } from './util.js'
try {
console.warn(github, core, process.cwd(), process.env)
const msrOptions = getMSROptions()
core.info(JSON.stringify(msrOptions))
release(msrOptions)
} catch (e) {
core.error(e)
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function release(

try {
logger.info(`Running msr version ${msrPkgJSON.version}`)
logger.info(`Load packages from: ${context.cwd}`)

const paths = getManifestPaths(context.cwd, msrOptions.ignorePackages)
releasePackages(paths, srOptions, msrOptions, context, logger).then(
Expand Down

0 comments on commit 30cca72

Please sign in to comment.