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

Creating a custom action for building all javascript based octicons packages #279

Merged
merged 31 commits into from
Jan 31, 2019

Conversation

jonrohan
Copy link
Member

This is a common action that builds any npm based project. octicons_node and octicons_react

The steps it does is

  1. change to the directory of the project
  2. Install
  3. Build
  4. Lint
  5. Test

@shawnbot @emplums

@@ -0,0 +1,3 @@
#!/usr/bin/env node

console.log("Create a build/data.json from the exported assets")
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO: Right now the figma-action is specific to octicons and is still building the build/data.json for us. I'd like to make it more generic and do the conversion work here. Until then

@@ -17,9 +17,8 @@
"url": "https://github.com/primer/octicons/issues"
},
"scripts": {
"publish": "../../script/notify success",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we keep these in here until the publish stuff is merged in?

Copy link
Member Author

Choose a reason for hiding this comment

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

Actions notifies for us now. 🥇

Copy link
Contributor

@emplums emplums left a comment

Choose a reason for hiding this comment

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

Just left one comment, otherwise 👍

@jonrohan jonrohan merged commit 077b223 into github_actions Jan 31, 2019
@jonrohan jonrohan deleted the node_build_action branch January 31, 2019 23:06
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