Skip to content

Commit

Permalink
feat(core): add support for Node.js 14 (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaty authored and B4nan committed Jun 5, 2020
1 parent a03c483 commit 6087f3f
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 100 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
node-version: [10.x, 12.x, 13.x, 14.x]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion tests/FileCacheAdapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('FileCacheAdapter', () => {
test('should ignore old cache', async () => {
const origin = TEMP_DIR + '/.origin';
const cache = new FileCacheAdapter({ cacheDir: TEMP_DIR }, TEMP_DIR);
writeFileSync(origin, 123);
writeFileSync(origin, '123');
await cache.set('cache-test-handle-1', 123, origin);
await expect(cache.get('cache-test-handle-1')).resolves.toBe(123);

Expand Down

0 comments on commit 6087f3f

Please sign in to comment.