66
77Use this template to bootstrap the creation of a TypeScript action.:rocket :
88
9- This template includes compilation support, tests, a validation workflow, publishing, and versioning guidance.
9+ This template includes compilation support, tests, a validation workflow, publishing, and versioning guidance.
1010
1111If you are new, there's also a simpler introduction. See the [ Hello World JavaScript Action] ( https://github.com/actions/hello-world-javascript-action )
1212
@@ -16,7 +16,7 @@ Click the `Use this Template` and provide the new repo details for your action
1616
1717## Code in Main
1818
19- Install the dependencies
19+ Install the dependencies
2020``` bash
2121$ npm install
2222```
@@ -26,7 +26,7 @@ Build the typescript and package it for distribution
2626$ npm run build && npm run package
2727```
2828
29- Run the tests :heavy_check_mark :
29+ Run the tests :heavy_check_mark :
3030``` bash
3131$ npm test
3232
@@ -55,9 +55,9 @@ import * as core from '@actions/core';
5555...
5656
5757async function run () {
58- try {
58+ try {
5959 ...
60- }
60+ }
6161 catch (error) {
6262 core .setFailed (error .message );
6363 }
@@ -70,7 +70,7 @@ See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/R
7070
7171## Publish to a distribution branch
7272
73- Actions are run from GitHub repos so we will checkin the packed dist folder.
73+ Actions are run from GitHub repos so we will checkin the packed dist folder.
7474
7575Then run [ ncc] ( https://github.com/zeit/ncc ) and push the results:
7676``` bash
@@ -82,7 +82,7 @@ $ git push origin releases/v1
8282
8383Note: We recommend using the ` --license ` option for ncc, which will create a license file for all of the production node modules used in your project.
8484
85- Your action is now published! :rocket :
85+ Your action is now published! :rocket :
8686
8787See the [ versioning documentation] ( https://github.com/actions/toolkit/blob/master/docs/action-versioning.md )
8888
0 commit comments