davidhu2000 / react-spinners

A collection of loading spinner components for react
https://www.davidhu.io/react-spinners
MIT License
3.01k stars 261 forks source link

fix gh pages action when cache does not exist #547

Closed davidhu2000 closed 1 year ago

davidhu2000 commented 1 year ago

What changes are introduced?

gh pages action fails when there is no cached node modules. iT doesn't have a install step..

refactored all the node setup into a composite action

also merged all the actions into one workflow for ease of access, plus make sure we only deploy gh pages if tests pass

Any screenshots?