chore: Use checkout@v2 for code examples (#107)

pull/117/head
Nick Schonning 2020-02-06 14:52:33 -05:00 committed by GitHub
parent 1c5c1375b3
commit ada4b782b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ See [action.yml](action.yml)
Basic: Basic:
```yaml ```yaml
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '10.x' node-version: '10.x'
@ -34,7 +34,7 @@ jobs:
node: [ '10', '8' ] node: [ '10', '8' ]
name: Node ${{ matrix.node }} sample name: Node ${{ matrix.node }} sample
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Setup node - name: Setup node
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
@ -46,7 +46,7 @@ jobs:
Publish to npmjs and GPR with npm: Publish to npmjs and GPR with npm:
```yaml ```yaml
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '10.x' node-version: '10.x'
@ -66,7 +66,7 @@ steps:
Publish to npmjs and GPR with yarn: Publish to npmjs and GPR with yarn:
```yaml ```yaml
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '10.x' node-version: '10.x'
@ -86,7 +86,7 @@ steps:
Use private packages: Use private packages:
```yaml ```yaml
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: '10.x' node-version: '10.x'