ToastOnAStick
ToastOnAStick

Reputation: 33

How would I go about building TS code via GitHub actions?

Firstly, I just wanted to mention that I don't have much experience in using GitHub actions. However, I would like my typescript code to be built, and pushed to a production branch whenever there is a commit to my main branch. Is there anyway to do this?

Upvotes: 0

Views: 957

Answers (1)

Ricardo
Ricardo

Reputation: 91

You can use the following two actions to achieve what you want.

  1. Build your code with the following action: typescript-compiler
  2. Then follow this question to push the resultant build to Github Push to Github

Basically, you are done, if you need any extra step you can always go to actions marketpalce or build your own.

Upvotes: 1

Related Questions