diff --git a/.github/workflows/ci-on-commit.yml b/.github/workflows/ci-on-commit.yml index 3b3798f..a76d7bb 100644 --- a/.github/workflows/ci-on-commit.yml +++ b/.github/workflows/ci-on-commit.yml @@ -14,6 +14,11 @@ jobs: - name: checkout uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + - name: install run: npm install diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml index f579f38..7c5e9a2 100644 --- a/.github/workflows/publish-on-tag.yml +++ b/.github/workflows/publish-on-tag.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-node@v1 with: - node-version: '12.x' + node-version: '16.x' registry-url: 'https://registry.npmjs.org' - name: install diff --git a/src/cache.integration.test.ts b/src/cache.integration.test.ts index e3228dd..4d834c5 100644 --- a/src/cache.integration.test.ts +++ b/src/cache.integration.test.ts @@ -1,7 +1,6 @@ import { promises as fs } from 'fs'; import { sleep } from './utils/sleep'; import { createCache, RESERVED_CACHE_KEY_FOR_VALID_KEYS } from './cache'; -import uuid from 'uuid'; jest.setTimeout(60 * 1000);