You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Workflows fixes (#1570)
* upgrade workflow actions * fix setup-node version * change redis-64 version to 3.0.503
This commit is contained in:
8
.github/workflows/benchmark.yml
vendored
8
.github/workflows/benchmark.yml
vendored
@@ -13,17 +13,17 @@ jobs:
|
|||||||
redis-version: [5]
|
redis-version: [5]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2.1.5
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Setup Redis
|
- name: Setup Redis
|
||||||
uses: shogo82148/actions-setup-redis@v1.0.1
|
uses: shogo82148/actions-setup-redis@v1.9.7
|
||||||
with:
|
with:
|
||||||
redis-version: ${{ matrix.redis-version }}
|
redis-version: ${{ matrix.redis-version }}
|
||||||
auto-start: "true"
|
auto-start: "true"
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- name: Run Benchmark
|
- name: Run Benchmark
|
||||||
run: npm run benchmark > benchmark-output.txt && cat benchmark-output.txt
|
run: npm run benchmark > benchmark-output.txt && cat benchmark-output.txt
|
||||||
- name: Upload Benchmark Result
|
- name: Upload Benchmark Result
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v2.2.2
|
||||||
with:
|
with:
|
||||||
name: benchmark-output.txt
|
name: benchmark-output.txt
|
||||||
path: benchmark-output.txt
|
path: benchmark-output.txt
|
||||||
|
8
.github/workflows/linting.yml
vendored
8
.github/workflows/linting.yml
vendored
@@ -7,10 +7,10 @@ jobs:
|
|||||||
name: ESLint
|
name: ESLint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2.1.5
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
- run: npm i --no-audit --prefer-offline
|
- run: npm i --no-audit --prefer-offline
|
||||||
@@ -20,12 +20,12 @@ jobs:
|
|||||||
run: npm run lint:report
|
run: npm run lint:report
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
- name: Annotate Code Linting Results
|
- name: Annotate Code Linting Results
|
||||||
uses: ataylorme/eslint-annotate-action@1.0.4
|
uses: ataylorme/eslint-annotate-action@1.1.2
|
||||||
with:
|
with:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
report-json: "eslint-report.json"
|
report-json: "eslint-report.json"
|
||||||
- name: Upload ESLint report
|
- name: Upload ESLint report
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v2.2.2
|
||||||
with:
|
with:
|
||||||
name: eslint-report.json
|
name: eslint-report.json
|
||||||
path: eslint-report.json
|
path: eslint-report.json
|
||||||
|
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@@ -13,17 +13,17 @@ jobs:
|
|||||||
redis-version: [4.x, 5.x]
|
redis-version: [4.x, 5.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2.1.5
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Setup Redis
|
- name: Setup Redis
|
||||||
uses: shogo82148/actions-setup-redis@v1.0.1
|
uses: shogo82148/actions-setup-redis@v1.9.7
|
||||||
with:
|
with:
|
||||||
redis-version: ${{ matrix.redis-version }}
|
redis-version: ${{ matrix.redis-version }}
|
||||||
auto-start: "false"
|
auto-start: "false"
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
|
||||||
|
|
||||||
- name: Upload Coverage Report
|
- name: Upload Coverage Report
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v2.2.2
|
||||||
with:
|
with:
|
||||||
name: coverage
|
name: coverage
|
||||||
path: coverage
|
path: coverage
|
||||||
|
10
.github/workflows/tests_windows.yml
vendored
10
.github/workflows/tests_windows.yml
vendored
@@ -11,14 +11,14 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
node-version: [6.x, 8.x, 10.x, 12.x]
|
node-version: [6.x, 8.x, 10.x, 12.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Install Redis
|
- name: Install Redis
|
||||||
uses: crazy-max/ghaction-chocolatey@v1
|
uses: crazy-max/ghaction-chocolatey@v1.4.0
|
||||||
with:
|
with:
|
||||||
args: install redis-64 --no-progress
|
args: install redis-64 --version=3.0.503 --no-progress
|
||||||
|
|
||||||
- name: Start Redis
|
- name: Start Redis
|
||||||
run: |
|
run: |
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
redis-cli config set stop-writes-on-bgsave-error no
|
redis-cli config set stop-writes-on-bgsave-error no
|
||||||
|
|
||||||
- name: Setup Node.js ${{ matrix.node-version }}
|
- name: Setup Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2.1.5
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
|
||||||
|
|
||||||
- name: Upload Coverage Report
|
- name: Upload Coverage Report
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v2.2.2
|
||||||
with:
|
with:
|
||||||
name: coverage
|
name: coverage
|
||||||
path: coverage
|
path: coverage
|
||||||
|
Reference in New Issue
Block a user