mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
595 B
595 B
Contributing
Installing dependencies
$ yarn install
npm doesn't install the correct dependencies for eslint so we use yarn.
Regenerating dist/index.js
$ yarn run package
It is recommended to add this as a git pre-commit hook:
$ cp pre-commit .git/hooks/pre-commit
Adding a new Ruby version
Add the new version in ruby-builder-versions.js, then follow the steps above in Regenerating dist/index.js to update dist/index.js. Finally, update the "Supported Versions" section of the README if needed.