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