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
|
||||
|
||||
# TODO: run postgres and sqlite in parallel
|
||||
- run: DB=postgres npm run test
|
||||
- run: DB=mariadb npm run test
|
||||
- run: npm run test:cov
|
||||
if: github.event_name == 'push' && matrix.node-version == '20.x'
|
||||
- run: DB=postgres npm run test:cov
|
||||
- run: DB=mariadb npm run test:cov
|
||||
- run: DB=sqlite npm run test:cov
|
||||
- run: 'bash <(curl -s https://codecov.io/bash)'
|
||||
if: github.event_name == 'push' && matrix.node-version == '20.x'
|
||||
- name: Semantic Release
|
||||
if: github.event_name == 'push' && matrix.node-version == '20.x'
|
||||
uses: cycjimmy/semantic-release-action@v3
|
||||
|
@ -7,7 +7,7 @@ services:
|
||||
POSTGRES_PASSWORD: pass
|
||||
POSTGRES_DB: test
|
||||
ports:
|
||||
- "${DB_PORT:-5432}:5432"
|
||||
- "${POSTGRESS_DB_PORT:-5432}:5432"
|
||||
|
||||
mariadb:
|
||||
container_name: mariadb_nestjs_paginate
|
||||
|
@ -47,6 +47,7 @@
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"fastify": "^4.26.2",
|
||||
"jest": "^29.7.0",
|
||||
"mysql": "^2.18.1",
|
||||
"pg": "^8.12.0",
|
||||
"prettier": "^3.0.3",
|
||||
"reflect-metadata": "^0.1.14",
|
||||
@ -55,8 +56,7 @@
|
||||
"ts-jest": "^29.1.5",
|
||||
"ts-node": "^10.9.2",
|
||||
"typeorm": "^0.3.17",
|
||||
"typescript": "^5.4.5",
|
||||
"mysql": "^2.18.1"
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"lodash": "^4.17.21"
|
||||
@ -101,4 +101,4 @@
|
||||
"master"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user