diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47cf4e0..f8c097b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: - main jobs: - lint: + check-lint: runs-on: ubuntu-latest steps: - name: Checkout code @@ -18,7 +18,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '21' + node-version: '16' - name: Install dependencies run: npm install @@ -26,9 +26,9 @@ jobs: - name: Run lint run: npm run lint - test: + run-tests: runs-on: ubuntu-latest - needs: lint + needs: check-lint steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/src/caches/ttl.ts b/src/caches/ttl.ts index cfb638c..df2bff9 100644 --- a/src/caches/ttl.ts +++ b/src/caches/ttl.ts @@ -1,6 +1,5 @@ import { Cache } from './cache' import { TTLParams, Keyable } from '../types' -import { SizeError } from '../utils' /** * ### About