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

ci setup for npm publishing #46 #62

Merged
merged 3 commits into from
Oct 26, 2023

Conversation

nyan-left
Copy link
Contributor

@nyan-left nyan-left commented Oct 18, 2023

Closes #46 #30

Changelog

  • Added workflow to build and publish npm package on release.
  • Moved pcsync and pcwatch to standard bin folder.
  • bin folder is now linted.
  • Set full eslint path in package.json lint script.

Remarks

The playcanvas-sync project seems to have linting setup, but there are a lot of errors.Resolving these issues and running the linter before publishing is out of scope for this PR/issue.
The linting stage can be commented back in once the issues are resolved. I propose the linting stage also runs on any pull requests in the future.

@willeastcott This PR will require you to set up a secret on this repo or your organisation called NPM_TOKEN https://docs.npmjs.com/about-access-tokens#about-granular-access-tokens

Many thanks :)

package.json Outdated Show resolved Hide resolved
@nyan-left
Copy link
Contributor Author

Hi @willeastcott,

Are there any other tweaks you'd like before we proceed with an NPM publish?

@willeastcott
Copy link
Contributor

@nyan-left No, I think we're good to go. I just need to have @matthewvroman transfer the playcanvas-sync NPM package to me and I'll go ahead and merge this. Stay tuned. 😄

@willeastcott willeastcott self-assigned this Oct 26, 2023
@willeastcott willeastcott added the enhancement New feature or request label Oct 26, 2023
@willeastcott
Copy link
Contributor

OK, the NPM package has been transferred. 🎉

@willeastcott willeastcott merged commit 4647e09 into playcanvas:main Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project in npm registry
2 participants