Skip to content

Commit

Permalink
fix: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Dec 28, 2023
1 parent c83aae8 commit f77a2e5
Show file tree
Hide file tree
Showing 3 changed files with 1,316 additions and 1,374 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"
env: { NODE_OPTIONS: '--max-old-space-size=3200' }
steps:
- { uses: actions/checkout@v3, with: { persist-credentials: true } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- { uses: actions/checkout@v4, with: { persist-credentials: true } }
- { uses: actions/setup-node@v4, with: { node-version: 'lts/*', cache: 'yarn' } }

# Cache for npm/npx in ~/.npm
- uses: actions/cache@v3
Expand Down
7 changes: 3 additions & 4 deletions src/mysql.db.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Readable, Transform } from 'node:stream'
import { promisify } from 'node:util'
import { DBPatch } from '@naturalcycles/db-lib'
import {
DBPatch,
BaseCommonDB,
CommonDB,
CommonDBCreateOptions,
Expand All @@ -24,8 +24,7 @@ import {
JsonSchemaRootObject,
ObjectWithId,
} from '@naturalcycles/js-lib'
import { ReadableTyped } from '@naturalcycles/nodejs-lib'
import { white } from '@naturalcycles/nodejs-lib'
import { ReadableTyped, white } from '@naturalcycles/nodejs-lib'
import {
Connection,
OkPacket,
Expand Down Expand Up @@ -322,7 +321,7 @@ export class MysqlDB extends BaseCommonDB implements CommonDB {
const { insertId } = await this.runSQL<OkPacket>({ sql })

// Mutate the input row with insertIt
rowsInput[i]!.id = insertId
rowsInput[i]!.id = insertId as any // this is because we no longer support number ids in CommonDB
}
}

Expand Down
Loading

0 comments on commit f77a2e5

Please sign in to comment.