Skip to content

Commit

Permalink
jest clear를 추가하라
Browse files Browse the repository at this point in the history
gitaction에서 build 에러가 발생해서 jest clear를 추가했습니다
  • Loading branch information
jihwooon committed Dec 18, 2023
1 parent 5d1f069 commit 936227c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/server-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
run: npm ci

- name: Run Test(Clear)
run: npm run test:clear

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

Expand Down
1 change: 1 addition & 0 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:clear": "jest --clearCache",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
Expand Down

0 comments on commit 936227c

Please sign in to comment.