Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set PACKAGEJSON_DIR for release bumping #588

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Conversation

aalemayhu
Copy link
Contributor

@aalemayhu aalemayhu commented Apr 12, 2022

Hopefully fixes the following issue

2022-04-11T20:05:44.9667178Z (node:1614) UnhandledPromiseRejectionWarning: Error: package.json could not be found in your project's root.
2022-04-11T20:05:44.9668877Z     at getPackageJson (/home/runner/work/_actions/phips28/gh-action-bump-version/master/index.js:211:41)
2022-04-11T20:05:44.9670129Z     at /home/runner/work/_actions/phips28/gh-action-bump-version/master/index.js:16:15
2022-04-11T20:05:44.9670833Z     at Object.<anonymous> (/home/runner/work/_actions/phips28/gh-action-bump-version/master/index.js:207:3)
2022-04-11T20:05:44.9671291Z     at Module._compile (internal/modules/cjs/loader.js:999:30)
2022-04-11T20:05:44.9671844Z     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
2022-04-11T20:05:44.9672224Z     at Module.load (internal/modules/cjs/loader.js:863:32)
2022-04-11T20:05:44.9672723Z     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
2022-04-11T20:05:44.9673134Z     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
2022-04-11T20:05:44.9673505Z     at internal/main/run_main_module.js:17:47
2022-04-11T20:05:44.9687002Z (node:1614) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
2022-04-11T20:05:44.9688702Z (node:1614) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2022-04-11T20:05:44.9774500Z ##[group]Run cat ./server/package.json
2022-04-11T20:05:44.9774852Z t ./server/package.json

Hopefully fixes the following issue

2022-04-11T20:05:44.9667178Z (node:1614) UnhandledPromiseRejectionWarning: Error: package.json could not be found in your project's root.
2022-04-11T20:05:44.9668877Z     at getPackageJson (/home/runner/work/_actions/phips28/gh-action-bump-version/master/index.js:211:41)
2022-04-11T20:05:44.9670129Z     at /home/runner/work/_actions/phips28/gh-action-bump-version/master/index.js:16:15
2022-04-11T20:05:44.9670833Z     at Object.<anonymous> (/home/runner/work/_actions/phips28/gh-action-bump-version/master/index.js:207:3)
2022-04-11T20:05:44.9671291Z     at Module._compile (internal/modules/cjs/loader.js:999:30)
2022-04-11T20:05:44.9671844Z     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
2022-04-11T20:05:44.9672224Z     at Module.load (internal/modules/cjs/loader.js:863:32)
2022-04-11T20:05:44.9672723Z     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
2022-04-11T20:05:44.9673134Z     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
2022-04-11T20:05:44.9673505Z     at internal/main/run_main_module.js:17:47
2022-04-11T20:05:44.9687002Z (node:1614) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
2022-04-11T20:05:44.9688702Z (node:1614) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2022-04-11T20:05:44.9774500Z ##[group]Run cat ./server/package.json
2022-04-11T20:05:44.9774852Z t ./server/package.json
@aalemayhu aalemayhu enabled auto-merge April 12, 2022 15:41
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@aalemayhu aalemayhu merged commit 26ba89e into main Apr 12, 2022
@aalemayhu aalemayhu deleted the fix/auto-bump-version branch April 12, 2022 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant