Update README.md
parent
6dc7a5eeaf
commit
325b64a86f
|
@ -31,7 +31,7 @@ This is useful when running tests against a Redis database.
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
A code example says more than a 1000 words. Here’s an exemplary GitHub Action using a Redis server in versions 4 and 5 to test a Node.js app:
|
A code example says more than 1,000 words. Here’s an exemplary GitHub Action using a Redis server in versions 4 and 5 to test a Node.js app:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: Run tests
|
name: Run tests
|
||||||
|
@ -48,10 +48,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Git checkout
|
- name: Git checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue