diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5506737..4db4e5b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,10 +7,10 @@ jobs: matrix: node-version: [14.x, 16.x, 18.x, 20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: npm install and test - run: npm it \ No newline at end of file + run: npm it diff --git a/examples/cli/migrations/1316027432511-add-pets.js b/examples/cli/migrations/1316027432511-add-pets.js index 5ec835c..fe821a7 100644 --- a/examples/cli/migrations/1316027432511-add-pets.js +++ b/examples/cli/migrations/1316027432511-add-pets.js @@ -1,4 +1,3 @@ - const db = require('./db') exports.up = function (next) { diff --git a/examples/cli/migrations/1316027432512-add-jane.js b/examples/cli/migrations/1316027432512-add-jane.js index fdf1e2d..f815e6e 100644 --- a/examples/cli/migrations/1316027432512-add-jane.js +++ b/examples/cli/migrations/1316027432512-add-jane.js @@ -1,4 +1,3 @@ - const db = require('./db') exports.up = function (next) { diff --git a/examples/cli/migrations/1316027432575-add-owners.js b/examples/cli/migrations/1316027432575-add-owners.js index b140ecf..40aedab 100644 --- a/examples/cli/migrations/1316027432575-add-owners.js +++ b/examples/cli/migrations/1316027432575-add-owners.js @@ -1,4 +1,3 @@ - const db = require('./db') exports.up = function (next) { diff --git a/examples/cli/migrations/1316027433425-coolest-pet.js b/examples/cli/migrations/1316027433425-coolest-pet.js index 41b36a7..7dc76d7 100644 --- a/examples/cli/migrations/1316027433425-coolest-pet.js +++ b/examples/cli/migrations/1316027433425-coolest-pet.js @@ -1,4 +1,3 @@ - const db = require('./db') exports.up = function (next) { diff --git a/examples/cli/migrations/db.js b/examples/cli/migrations/db.js index 7d4535a..159c435 100644 --- a/examples/cli/migrations/db.js +++ b/examples/cli/migrations/db.js @@ -1,4 +1,3 @@ - // bad example, but you get the point ;) // $ npm install redis diff --git a/examples/migrate.js b/examples/migrate.js index fd80231..0165306 100644 --- a/examples/migrate.js +++ b/examples/migrate.js @@ -1,4 +1,3 @@ - // bad example, but you get the point ;) // $ npm install redis diff --git a/test/fixtures/basic/1-add-guy-ferrets.js b/test/fixtures/basic/1-add-guy-ferrets.js index 9960bee..a721c8f 100644 --- a/test/fixtures/basic/1-add-guy-ferrets.js +++ b/test/fixtures/basic/1-add-guy-ferrets.js @@ -1,4 +1,3 @@ - const db = require('../../util/db') exports.description = 'Adds two pets' diff --git a/test/fixtures/basic/2-add-girl-ferrets.js b/test/fixtures/basic/2-add-girl-ferrets.js index 1fd00ca..c5fb4ce 100644 --- a/test/fixtures/basic/2-add-girl-ferrets.js +++ b/test/fixtures/basic/2-add-girl-ferrets.js @@ -1,4 +1,3 @@ - const db = require('../../util/db') exports.up = function (next) { diff --git a/test/fixtures/basic/3-add-emails.js b/test/fixtures/basic/3-add-emails.js index 1fd41a4..44d0a68 100644 --- a/test/fixtures/basic/3-add-emails.js +++ b/test/fixtures/basic/3-add-emails.js @@ -1,4 +1,3 @@ - const db = require('../../util/db') exports.up = function (next) { diff --git a/test/fixtures/issue-33/1-migration.js b/test/fixtures/issue-33/1-migration.js index 94ff328..5b4a5c2 100644 --- a/test/fixtures/issue-33/1-migration.js +++ b/test/fixtures/issue-33/1-migration.js @@ -1,4 +1,3 @@ - const db = require('../../util/db') exports.up = function (next) { diff --git a/test/fixtures/issue-33/2-migration.js b/test/fixtures/issue-33/2-migration.js index 770d849..edc720e 100644 --- a/test/fixtures/issue-33/2-migration.js +++ b/test/fixtures/issue-33/2-migration.js @@ -1,4 +1,3 @@ - const db = require('../../util/db') exports.up = function (next) { diff --git a/test/fixtures/issue-33/3-migration.js b/test/fixtures/issue-33/3-migration.js index 91beab6..1275d02 100644 --- a/test/fixtures/issue-33/3-migration.js +++ b/test/fixtures/issue-33/3-migration.js @@ -1,4 +1,3 @@ - const db = require('../../util/db') exports.up = function (next) {