docs(README): update examples

This commit is contained in:
Federico Grandi
2022-10-12 14:19:56 +02:00
parent 06d5ce7315
commit 6773ad24bd

View File

@@ -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/'