File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change 44Utility for making changes to a repository from a GitHub Action.
55
66## Installation
7- <a href =' https://npmjs.com/package/commit-from-action ' ><img alt =' npm logo ' src =' https://raw.githubusercontent. com/npm/logos/ master/npm%20logo/npm-logo-red .png ' height = 16 / ></a >
7+ <a href =' https://npmjs.com/package/commit-from-action ' ><img alt =' npm logo ' src =' https://github. com/Jaid/action-readme/raw/ master/images/base-assets/npm .png ' /></a >
88``` bash
9- npm install --save commit-from-action@^
9+ npm install --save commit-from-action@^1.2.0
1010```
11- <a href =' https://yarnpkg.com/package/commit-from-action ' ><img alt =' Yarn logo ' src =' https://raw.githubusercontent. com/yarnpkg/assets/ master/yarn-kitten-full .png ' height = 24 / ></a >
11+ <a href =' https://yarnpkg.com/package/commit-from-action ' ><img alt =' Yarn logo ' src =' https://github. com/Jaid/action-readme/raw/ master/images/base-assets/yarn .png ' /></a >
1212``` bash
13- yarn add commit-from-action@^
13+ yarn add commit-from-action@^1.2.0
1414```
1515
1616
17- ## Try it out
18- Open a browser's JavaScript console and execute:
19-
20- ``` javascript
21- const scriptElement = document .createElement (" script" );
22- scriptElement .setAttribute (" type" ," text/javascript" );
23- scriptElement .setAttribute (" src" ," https://unpkg.com/commit-from-action@1.2.0" );
24- document .querySelector (" head" ).appendChild (scriptElement);
25- ```
26-
27- The module is now loaded in a variable.
28-
29- ``` javascript
30- typeof commit- from- action .default
31- ```
3217
3318## Documentation
3419
You can’t perform that action at this time.
0 commit comments