<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-build-your-first-javascript-github-action-cw2ipdw4c" -->

---
title: How to Build Your First JavaScript GitHub Action | daily.dev
description: GitHub Actions are custom code that you can include in a workflow job as a step to accomplish a task. An action can publish your code to a package manager like...
canonical: https://daily.dev/posts/how-to-build-your-first-javascript-github-action-cw2ipdw4c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to Build Your First JavaScript GitHub Action | daily.dev
og:description: GitHub Actions are custom code that you can include in a workflow job as a step to accomplish a task. An action can publish your code to a package manager like...
og:url: https://daily.dev/posts/how-to-build-your-first-javascript-github-action-cw2ipdw4c
og:image: https://api.daily.dev/og/posts/cW2iPDW4c.png
og:image:alt: How to Build Your First JavaScript GitHub Action
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Build Your First JavaScript GitHub Action

**[freeCodeCamp](https://daily.dev/sources/freecodecamp)** · 10 min read · 16 upvotes · 1 comments

## Summary

GitHub Actions are custom code that you can include in a workflow job as a step to accomplish a task. An action can publish your code to a package manager like npm or yarn. It can also integrate with an SMS service provider to alert you when an urgent issue is created in your repo.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.freecodecamp.org/news/build-your-first-javascript-github-action/>

## Community discussion

Top comments from developers on daily.dev.

**@mrakcw** · 0 upvotes

> Top

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#github](https://daily.dev/tags/github)

[View this post on daily.dev](https://daily.dev/posts/how-to-build-your-first-javascript-github-action-cw2ipdw4c)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to Build Your First JavaScript GitHub Action","url":"https://daily.dev/posts/how-to-build-your-first-javascript-github-action-cw2ipdw4c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-build-your-first-javascript-github-action-cw2ipdw4c"},"datePublished":"2022-01-10T17:48:46.320Z","dateModified":"2022-01-10T17:48:46.326Z","description":"GitHub Actions are custom code that you can include in a workflow job as a step to accomplish a task. An action can publish your code to a package manager like...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d9d8a39158e719f124cf6831025f5100","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d9d8a39158e719f124cf6831025f5100","isAccessibleForFree":true,"articleSection":"freeCodeCamp","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"freeCodeCamp","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp","url":"https://daily.dev/sources/freecodecamp"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/how-to-build-your-first-javascript-github-action-cw2ipdw4c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":16},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"javascript,github","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"freeCodeCamp","item":"https://daily.dev/sources/freecodecamp"},{"@type":"ListItem","position":3,"name":"How to Build Your First JavaScript GitHub Action"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/how-to-build-your-first-javascript-github-action-cw2ipdw4c","comment":[{"@type":"Comment","text":"Top","datePublished":"2022-01-13T18:12:56.383Z","url":"https://daily.dev/posts/cW2iPDW4c#c-nZoHif4A6","author":{"@type":"Person","name":"MrakCw","url":"https://daily.dev/mrakcw","image":"https://media.daily.dev/image/upload/f_auto/v1639233433/avatars/VJzGGk9A8mHkMUHMJKLrv"}}]}
```

