Skip to content

Commit 25184c4

Browse files
authored
Update README.md (#475)
* Update README.md * Update README.md
1 parent 337fdf2 commit 25184c4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This action provides the following functionality for GitHub Actions users:
1111
- Registering problem matchers for error output
1212
- Configuring authentication for GPR or npm
1313

14-
# Usage
14+
## Usage
1515

1616
See [action.yml](action.yml)
1717

@@ -22,7 +22,7 @@ steps:
2222
- uses: actions/checkout@v3
2323
- uses: actions/setup-node@v3
2424
with:
25-
node-version: '14'
25+
node-version: 14
2626
- run: npm install
2727
- run: npm test
2828
```
@@ -33,7 +33,7 @@ The action will first check the local cache for a semver match. If unable to fin
3333

3434
For information regarding locally cached versions of Node.js on GitHub hosted runners, check out [GitHub Actions Virtual Environments](https://github.com/actions/virtual-environments).
3535

36-
#### Supported version syntax
36+
### Supported version syntax
3737

3838
The `node-version` input supports the following syntax:
3939

@@ -49,7 +49,7 @@ The action defaults to search for the dependency file (`package-lock.json` or `y
4949

5050
**Note:** The action does not cache `node_modules`
5151

52-
See the examples of using cache for `yarn` / `pnpm` and `cache-dependency-path` input in the [Advanced usage](docs/advanced-usage.md#caching-packages-data) guide.
52+
See the examples of using cache for `yarn`/`pnpm` and `cache-dependency-path` input in the [Advanced usage](docs/advanced-usage.md#caching-packages-data) guide.
5353

5454
**Caching npm dependencies:**
5555

@@ -58,7 +58,7 @@ steps:
5858
- uses: actions/checkout@v3
5959
- uses: actions/setup-node@v3
6060
with:
61-
node-version: '14'
61+
node-version: 14
6262
cache: 'npm'
6363
- run: npm install
6464
- run: npm test
@@ -71,22 +71,22 @@ steps:
7171
- uses: actions/checkout@v3
7272
- uses: actions/setup-node@v3
7373
with:
74-
node-version: '14'
74+
node-version: 14
7575
cache: 'npm'
7676
cache-dependency-path: subdir/package-lock.json
7777
- run: npm install
7878
- run: npm test
7979
```
8080

81-
## Matrix Testing:
81+
## Matrix Testing
8282

8383
```yaml
8484
jobs:
8585
build:
8686
runs-on: ubuntu-latest
8787
strategy:
8888
matrix:
89-
node: [ '12', '14', '16' ]
89+
node: [ 12, 14, 16 ]
9090
name: Node ${{ matrix.node }} sample
9191
steps:
9292
- uses: actions/checkout@v3
@@ -109,14 +109,14 @@ jobs:
109109
7. [Publishing to npmjs and GPR with yarn](docs/advanced-usage.md#publish-to-npmjs-and-gpr-with-yarn)
110110
8. [Using private packages](docs/advanced-usage.md#use-private-packages)
111111

112-
# License
112+
## License
113113

114114
The scripts and documentation in this project are released under the [MIT License](LICENSE)
115115

116-
# Contributions
116+
## Contributions
117117

118-
Contributions are welcome! See [Contributor's Guide](docs/contributors.md)
118+
Contributions are welcome! See [Contributor's Guide](docs/contributors.md)
119119

120120
## Code of Conduct
121121

122-
:wave: Be nice. See [our code of conduct](CODE_OF_CONDUCT.md)
122+
:wave: Be nice. See [our code of conduct](CODE_OF_CONDUCT.md)

0 commit comments

Comments
 (0)