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

Setup CI/CD pipeline for NPM publish #39

Open
cairocoder01 opened this issue Oct 30, 2022 · 2 comments
Open

Setup CI/CD pipeline for NPM publish #39

cairocoder01 opened this issue Oct 30, 2022 · 2 comments

Comments

@cairocoder01
Copy link
Collaborator

Currently, you just run npm publish --access public in the root of the site and it will publish.

The pipeline should do the following:

  • Run eslint
  • Run tests
  • Build dist folder (npm run build)
  • Should it build the localize js files?
  • Publish to NPM (npm publish --access public)
@micahmills
Copy link
Collaborator

The translation system for the theme and plugins is changing in the coming weeks. I think we should try to integrate with that as much as possible so we can probably hold off on the localize stuff until the dust has settled on the new process.

@cairocoder01
Copy link
Collaborator Author

This is setup for the basic build and publish action. I'll leave this issue incomplete as a reminder that we'll still need to integrate the localization process.

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

No branches or pull requests

2 participants