Skip to content

Commit 148fd28

Browse files
Automatically merged commits from pull #6
Update readme.md with Jaid/action-readme
2 parents 794d2df + 5bca2a5 commit 148fd28

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

readme.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,16 @@
44
Utility 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

0 commit comments

Comments
 (0)