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

πŸ“… 4/26 @ 5pm PT - Create a cowsay GitHub Action with JavaScript #4

Closed
gr2m opened this issue Apr 26, 2021 · 4 comments
Closed
Labels
show Preparation issue for a live show

Comments

@gr2m
Copy link
Owner

gr2m commented Apr 26, 2021

πŸ’πŸ» GitHub Enterprise repository auditing
πŸ“… April 26, 2021
πŸ• 5pm Pacific Time (in your timezone)
πŸŽ™οΈ no guests
🏷️ Action


The goal is to create a GitHub Action with JavaScript from scratch and to publish it to GitHub's marketplace.

Outline

  1. Create a new repository based on gr2m/hello-world-js-action
  2. Update all mentions of hello-world-js-action to cowsay-action
  3. Install the cowsay package
  4. Update the tests
  5. Publish to GitHub Marketplace
@gr2m
Copy link
Owner Author

gr2m commented Apr 26, 2021

Going live right now at https://www.twitch.tv/gregorcodes

@gr2m
Copy link
Owner Author

gr2m commented Apr 27, 2021

We are done!

The repository: https://github.com/gr2m/cowsay-action
The action on marketplace: https://github.com/marketplace/actions/cowsay-js

Here is the recording on twitch: https://www.twitch.tv/gregorcodes/video/1002124938

image

Feel free to ask any questions you have about the stream!

@gr2m gr2m closed this as completed Apr 27, 2021
@gr2m gr2m added the show Preparation issue for a live show label Apr 27, 2021
@oscard0m
Copy link

Nice session once again. Super useful to consolidate and discover some concepts not clear to me πŸ˜„


I didn't know about:

Some small research inspired by this video:

  • GitHub issue with more details on why GitHub Actions are not supporting node14 yet
  • GitHub Actions in JS do not support require / import files. This only applies to node_modules but for regular relative paths it works right? I have seen examples working.

@gr2m
Copy link
Owner Author

gr2m commented Apr 29, 2021

Thank you for adding the links, much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
show Preparation issue for a live show
Projects
None yet
Development

No branches or pull requests

2 participants