mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
Update README.md
This commit is contained in:
parent
36135c75f3
commit
8944f08d2a
1 changed files with 4 additions and 4 deletions
|
@ -12,8 +12,8 @@ See [action.yml](action.yml)
|
||||||
Basic:
|
Basic:
|
||||||
```yaml
|
```yaml
|
||||||
actions:
|
actions:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-node@latest
|
- uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
version: 10.x
|
version: 10.x
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
@ -29,9 +29,9 @@ jobs:
|
||||||
node: [ 10, 8 ]
|
node: [ 10, 8 ]
|
||||||
name: Node ${{ matrix.node }} sample
|
name: Node ${{ matrix.node }} sample
|
||||||
actions:
|
actions:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@master
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@latest
|
uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.node }}
|
version: ${{ matrix.node }}
|
||||||
- run: npm install
|
- run: npm install
|
||||||
|
|
Loading…
Add table
Reference in a new issue