Skip to content

Conversation

@privatenumber
Copy link
Member

@privatenumber privatenumber commented Aug 2, 2021

Was previously getting the following error:

  Build script found in package.json
  No lock file detected. Installing dependencies with npm
  Running build command: npm run build
  Build completed in 0.2s
  Installing pkg-size globally
  Error: The process '/usr/local/bin/yarn' failed with exit code 1
  Warning: Error: The process '/usr/local/bin/yarn' failed with exit code 1
      at Bc._setResult (/home/runner/work/_actions/pkg-size/action/v1/dist/index.js:7611:21)
      at Bc.CheckComplete (/home/runner/work/_actions/pkg-size/action/v1/dist/index.js:7597:18)
      at ChildProcess.<anonymous> (/home/runner/work/_actions/pkg-size/action/v1/dist/index.js:7496:23)
      at ChildProcess.emit (events.js:210:5)
      at maybeClose (internal/child_process.js:1021:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

Seems addPath has become deprecated for security reasons.

Also doesn't seem like npm i -g requires sudo or actions/setup-node as a prerequisite anymore, based on experiment.

@github-actions
Copy link

github-actions bot commented Aug 2, 2021

📊 Package size report   -0.03%↓

File Before After
dist/index.js 237.8 kB -0.03%↓237.8 kB
Total (Includes all files) 247.6 kB -0.03%↓247.5 kB
Tarball size 52.2 kB -0.05%↓52.1 kB
Unchanged files
File Size
LICENSE 1.1 kB
package.json 1.5 kB
README.md 7.1 kB

🤖 This report was automatically generated by pkg-size-action

@privatenumber privatenumber marked this pull request as ready for review August 2, 2021 17:23
@privatenumber privatenumber merged commit 2e5d572 into develop Aug 2, 2021
@privatenumber privatenumber deleted the npmig-pkg-size branch August 2, 2021 17:25
@privatenumber
Copy link
Member Author

🎉 This PR is included in version 1.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants