diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 4ca644b6..83c30cfe 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -14,7 +14,7 @@ jobs: node-version: '14' cache: 'npm' - run: npm install - - run: node scripts/commands/create-queue.js + - run: node scripts/commands/create-database.js - run: node scripts/commands/create-matrix.js id: create-matrix - uses: actions/upload-artifact@v2 diff --git a/scripts/commands/create-queue.js b/scripts/commands/create-database.js similarity index 100% rename from scripts/commands/create-queue.js rename to scripts/commands/create-database.js diff --git a/tests/commands/create-queue.test.js b/tests/commands/create-database.test.js similarity index 92% rename from tests/commands/create-queue.test.js rename to tests/commands/create-database.test.js index 71241687..3b39e67a 100644 --- a/tests/commands/create-queue.test.js +++ b/tests/commands/create-database.test.js @@ -7,7 +7,7 @@ beforeEach(() => { fs.mkdirSync('tests/__data__/output') const stdout = execSync( - 'DB_DIR=tests/__data__/output/database node scripts/commands/create-queue.js --channels=tests/__data__/input/sites/*.channels.xml --max-clusters=1', + 'DB_DIR=tests/__data__/output/database node scripts/commands/create-database.js --channels=tests/__data__/input/sites/*.channels.xml --max-clusters=1', { encoding: 'utf8' } ) })