Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] alpha 서버를 위한 CI/CD 테스트 #23

Merged
merged 15 commits into from
Nov 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
⚙️ chore :working directory 변경
  • Loading branch information
jinddings committed Nov 5, 2024
commit e00fa33fa766e3f101cdc74af30b0d0a1fe5f710
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -33,20 +33,25 @@ jobs:
cache-dependency-path: ./BE/package-lock.json

- name: Install dependencies
working-directory: ./BE
run: npm ci

- name: Run tests
working-directory: ./BE
run: npm test
env:
CI: true

- name: Run linter
working-directory: ./BE
run: npm run lint

- name: Build application
working-directory: ./BE
run: npm run build

- name: Build and Push Docker Image
working-directory: ./BE
env:
NCP_ACCESS_KEY: ${{ secrets.NCP_ACCESS_KEY }}
NCP_SECRET_KEY: ${{ secrets.NCP_SECRET_KEY }}
Loading