mirror of
https://github.com/actions/setup-node.git
synced 2025-07-23 23:18:25 +02:00
rework approach
This commit is contained in:
parent
0e2f9cde8b
commit
1364035bf3
8 changed files with 328 additions and 55 deletions
13
README.md
13
README.md
|
@ -41,6 +41,19 @@ steps:
|
|||
- run: npm test
|
||||
```
|
||||
|
||||
Checking latest version of Node.js:
|
||||
(By default, action searches version locally before downloading it. This flag forces action to check if local version is the latest one)
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12'
|
||||
check-latest: true
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
```
|
||||
|
||||
Matrix Testing:
|
||||
```yaml
|
||||
jobs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue