Skip to content

Commit

Permalink
chore: attempt to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmukuthu committed Sep 15, 2023
1 parent b4770c1 commit 8763df9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
node-version: [12.x, 14.x, 16.x]

services:
postgres9:
Expand Down
4 changes: 4 additions & 0 deletions test/unexpected-knex.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ const unexpectedRequire = require('unexpected-require');
const unexpectedKnex = require('../lib/unexpected-knex');
const dontIndent = require('dedent-js');
const assertErrorOuput = process.env.ASSERT_ERROR_OUTPUT !== 'false';
// const packageJson = require('fs')
// .readFileSync(require('path').resolve(__dirname, '../package.json'))
// .toString();

// This file is `require`d here so that it's cached by Node.js before we go
// ahead and mock out `require`, since knex's migrator require's it while doing
// its job.
require('knex/lib/util/import-file.js');
require('../package.json');

describe('unexpected-knex', function () {
const host = process.env.PGHOST || 'localhost';
Expand Down

0 comments on commit 8763df9

Please sign in to comment.