Skip to content

Commit

Permalink
dd
Browse files Browse the repository at this point in the history
  • Loading branch information
jihwooon committed Dec 18, 2023
1 parent 123c4f5 commit 65feb97
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/server-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
node-version: 18.12.0
cache: "npm"
cache-dependency-path: ./package-lock.json
cache-dependency-path: server/package-lock.json

- name: Cache node modules
id: cache-npm
Expand All @@ -50,7 +50,7 @@ jobs:
run: npm ci

- name: Run Test(only Changed)
run: npm run test:only-changed
run: npm run test

- name: Run Lint(only Changed)
run : npm run format:diff
Expand Down
2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,5 @@
"server",
"client"
],
"keywords": [],
"devDependencies": {
"@swc/core": "^1.3.100",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.11",
"@types/jest-plugin-context": "^2.9.7",
"jest": "^29.7.0",
"jest-plugin-context": "^2.9.0",
"ts-jest": "^29.1.1"
}
"keywords": []
}
5 changes: 4 additions & 1 deletion server/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
"rootDir": ".",
"testRegex": ".*\\.(e2e-spec|test|spec)\\.ts$",
"transform": {
'^.+\\.(t|j)sx?$': [
'^.+\\.(t|j)s?$': [
'@swc/jest',
],
},
Expand All @@ -28,4 +28,7 @@ module.exports = {
'/node_modules/',
'dist',
],
"roots": [
'<rootDir>/',
],
};
4 changes: 3 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
"typescript": "^5.1.3",
"@swc/core": "^1.3.100",
"@swc/jest": "^0.2.29"
}
}

0 comments on commit 65feb97

Please sign in to comment.