mirror of
https://github.com/actions/setup-node.git
synced 2025-07-23 23:18:25 +02:00
v1
This commit is contained in:
parent
2beb613da7
commit
0258e952f5
3 changed files with 4 additions and 15 deletions
15
README.md
15
README.md
|
@ -13,7 +13,7 @@ Basic:
|
|||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
version: 10.x
|
||||
- run: npm install
|
||||
|
@ -31,24 +31,13 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@master
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
version: ${{ matrix.node }}
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
```
|
||||
|
||||
Get the LTS version:
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
version: lts
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
```
|
||||
|
||||
# License
|
||||
|
||||
The scripts and documentation in this project are released under the [MIT License](LICENSE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue