From 12a93dd9ac22386d989963837c06daf8bdcb4549 Mon Sep 17 00:00:00 2001 From: Aleksey Kvak Date: Tue, 17 Nov 2020 17:16:46 +0300 Subject: [PATCH 1/2] fix: redis: allow null return from set --- src/adapters/RedisStorageAdapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/RedisStorageAdapter.ts b/src/adapters/RedisStorageAdapter.ts index 21e052d..29f0b85 100644 --- a/src/adapters/RedisStorageAdapter.ts +++ b/src/adapters/RedisStorageAdapter.ts @@ -22,7 +22,7 @@ interface Redis extends EventEmitter { expiryMode?: string, time?: number | string, setMode?: number | string - ): Promise; + ): Promise<"OK" | null>; mget(...keys: string[]): Promise>; From 668908aa94163fcc62e26c067aef140f0a35e278 Mon Sep 17 00:00:00 2001 From: Aleksey Kvak Date: Tue, 17 Nov 2020 17:27:32 +0300 Subject: [PATCH 2/2] ci: upgrade actions/setup-node to 1.4.4 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b145ec..007b9ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1.4.2 + uses: actions/setup-node@v1.4.4 with: node-version: ${{ matrix.node-version }} # Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN @@ -87,7 +87,7 @@ jobs: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@v1.4.2 + uses: actions/setup-node@v1.4.4 with: node-version: 10.x