Skip to content

Commit

Permalink
ci: Github Actions 테스트 코드 실행 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
songbuild00 committed Nov 27, 2024
1 parent 6371de0 commit 94a646e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ jobs:
run: |
echo '${{ secrets.ENV }}' > .env
- name: BE 테스트 코드 실행 (unit test)
working-directory: ./BE
run: npm run test
# - name: BE 테스트 코드 실행 (unit test)
# working-directory: ./BE
# run: npm run test

- name: BE 테스트 코드 실행2 (e2e test)
- name: BE 테스트 코드 실행2 (integration test)
working-directory: ./BE
run: npm run test:e2e
run: npm run test:integration

# todo: FE 테스트 코드 실행 2
# - name: FE 테스트 코드 실행
Expand Down
2 changes: 1 addition & 1 deletion BE/test/integration/setup/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function joinRoom(client, gameId) {
return joinResponse;
}

export async function getAvailablePort(startPort = 3000): Promise<number> {
export async function getAvailablePort(startPort = 3001): Promise<number> {
const port = startPort;
try {
const server = net.createServer();
Expand Down

0 comments on commit 94a646e

Please sign in to comment.