Skip to content

Commit f048558

Browse files
ci: update script
1 parent 482d596 commit f048558

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- 6379:6379
3737

3838
postgres:
39-
image: postgres
39+
image: postgres:14
4040
env:
4141
POSTGRES_PASSWORD: changeit
4242
options: >-

packages/socket.io-postgres-emitter/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
"main": "./dist/index.js",
1515
"types": "./dist/index.d.ts",
1616
"scripts": {
17-
"test": "npm run format:check && tsc && nyc mocha --require ts-node/register --timeout 5000 test/index.ts",
17+
"compile": "rimraf ./dist && tsc",
18+
"test": "npm run format:check && npm run compile && nyc mocha --require ts-node/register --timeout 5000 test/index.ts",
1819
"format:check": "prettier --parser typescript --check 'lib/**/*.ts' 'test/**/*.ts'",
1920
"format:fix": "prettier --parser typescript --write 'lib/**/*.ts' 'test/**/*.ts'",
20-
"prepack": "tsc"
21+
"prepack": "npm run compile"
2122
},
2223
"dependencies": {
2324
"@msgpack/msgpack": "^2.7.0",

0 commit comments

Comments
 (0)