hexojs / hexo

A fast, simple & powerful blog framework, powered by Node.js.
https://hexo.io
MIT License
38.83k stars 4.75k forks source link

chore: use `prepublishOnly` instead of `prepublish` and run `npm install` in `prepublishOnly` script #5399

Closed yoshinorin closed 5 months ago

yoshinorin commented 5 months ago

What does it do?

prepublish has been deprecated.

Screenshots

N/A

Pull request tasks


Thanks :)

github-actions[bot] commented 5 months ago

How to test

git clone -b chore/use-prepublishOnly https://github.com/hexojs/hexo.git
cd hexo
npm install
npm test
coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 7585012378


Totals Coverage Status
Change from base Build 7584840837: 0.0%
Covered Lines: 9218
Relevant Lines: 9262

💛 - Coveralls