docs(README): update examples
This commit is contained in:
10
README.md
10
README.md
@@ -165,7 +165,7 @@ If you want to make some changes, you have to checkout the branch the PR is comi
|
|||||||
You can set it up like this:
|
You can set it up like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
@@ -268,12 +268,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
|
||||||
node-version: 12.x
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
@@ -305,7 +303,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
# If you need to, you can check out your repo to a different location
|
# If you need to, you can check out your repo to a different location
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: './pathToRepo/'
|
path: './pathToRepo/'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user