mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Rename to create-database.js
This commit is contained in:
parent
dfe3d557f9
commit
fcf9d54b94
3 changed files with 2 additions and 2 deletions
2
.github/workflows/auto-update.yml
vendored
2
.github/workflows/auto-update.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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' }
|
||||
)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue