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

Automatically publish eslint config on merge #74

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

roryabraham
Copy link
Contributor

@roryabraham roryabraham commented Oct 1, 2023

Fixes https://github.com/Expensify/Expensify/issues/212068

This workflow is exactly the same as what we have for react-native-onyx and react-native-key-command.

It's worth noting that all three could be simplified by allowing OSBotify to push straight to main, as he does in E/App for version-bump commits. However, this has been working fine so not a necessarily a problem for these less-frequently-updated repos.

@roryabraham roryabraham self-assigned this Oct 1, 2023
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hoping that since secrets are defined at the org level that this will be available in this repo automatically. If not we can just follow-up with a ring0 issue to add secrets (and maybe to give OSBotify the same access he has in E/App).

Copy link
Contributor

@luacmartins luacmartins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luacmartins luacmartins merged commit 0440f29 into main Oct 3, 2023
@luacmartins luacmartins deleted the Rory-PublishOnMerge branch October 3, 2023 15:52
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.

None yet

2 participants