fix ci (#946)
This commit is contained in:
parent
48f5e351f1
commit
5a787ddb5f
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -52,11 +52,11 @@ jobs:
|
|||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
# TODO: run postgres and sqlite in parallel
|
# TODO: run postgres and sqlite in parallel
|
||||||
- run: DB=postgres npm run test
|
- run: DB=postgres npm run test:cov
|
||||||
- run: DB=mariadb npm run test
|
- run: DB=mariadb npm run test:cov
|
||||||
- run: npm run test:cov
|
- run: DB=sqlite npm run test:cov
|
||||||
if: github.event_name == 'push' && matrix.node-version == '20.x'
|
|
||||||
- run: 'bash <(curl -s https://codecov.io/bash)'
|
- run: 'bash <(curl -s https://codecov.io/bash)'
|
||||||
|
if: github.event_name == 'push' && matrix.node-version == '20.x'
|
||||||
- name: Semantic Release
|
- name: Semantic Release
|
||||||
if: github.event_name == 'push' && matrix.node-version == '20.x'
|
if: github.event_name == 'push' && matrix.node-version == '20.x'
|
||||||
uses: cycjimmy/semantic-release-action@v3
|
uses: cycjimmy/semantic-release-action@v3
|
||||||
|
@ -7,7 +7,7 @@ services:
|
|||||||
POSTGRES_PASSWORD: pass
|
POSTGRES_PASSWORD: pass
|
||||||
POSTGRES_DB: test
|
POSTGRES_DB: test
|
||||||
ports:
|
ports:
|
||||||
- "${DB_PORT:-5432}:5432"
|
- "${POSTGRESS_DB_PORT:-5432}:5432"
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
container_name: mariadb_nestjs_paginate
|
container_name: mariadb_nestjs_paginate
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
"eslint-plugin-prettier": "^5.1.3",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"fastify": "^4.26.2",
|
"fastify": "^4.26.2",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
|
"mysql": "^2.18.1",
|
||||||
"pg": "^8.12.0",
|
"pg": "^8.12.0",
|
||||||
"prettier": "^3.0.3",
|
"prettier": "^3.0.3",
|
||||||
"reflect-metadata": "^0.1.14",
|
"reflect-metadata": "^0.1.14",
|
||||||
@ -55,8 +56,7 @@
|
|||||||
"ts-jest": "^29.1.5",
|
"ts-jest": "^29.1.5",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
"typeorm": "^0.3.17",
|
"typeorm": "^0.3.17",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.4.5"
|
||||||
"mysql": "^2.18.1"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lodash": "^4.17.21"
|
"lodash": "^4.17.21"
|
||||||
|
Loading…
Reference in New Issue
Block a user