* Update documentation `actions/setup-node@v2` -> `actions/setup-node@v3`
* Bump workflows to `actions/setup-node@v3`
* Update `README.md` workflow status badges to new format
This action provides the following functionality for GitHub Actions users:
This action provides the following functionality for GitHub Actions users:
@ -19,7 +19,7 @@ See [action.yml](action.yml)
```yaml
```yaml
steps:
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
with:
node-version: '14'
node-version: '14'
- run: npm install
- run: npm install
@ -33,6 +33,7 @@ The action will first check the local cache for a semver match. If unable to fin
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).
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).
#### Supported version syntax
#### Supported version syntax
The `node-version` input supports the following syntax:
The `node-version` input supports the following syntax:
major versions: `12`, `14`, `16`
major versions: `12`, `14`, `16`
@ -51,7 +52,7 @@ See the examples of using cache for `yarn` / `pnpm` and `cache-dependency-path`