Refactor: 가입로직 수정 완료 #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RELEASE-CI | |
on: | |
pull_request: | |
branches: [release] | |
jobs: | |
Build_and_Test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 18.18.2 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
aws-access-key-id: ${{ secrets.RELEASE_S3_ACCESS_KEY }} | |
aws-secret-access-key: ${{ secrets.RELEASE_S3_SECRET_ACCESS_KEY }} | |
aws-region: ${{ secrets.S3_REGION }} | |
- name: Download Test Environment file from S3 and Check | |
run: aws s3 cp ${{ secrets.S3_TEST_ENV }} .env | |
- name: Install Dependencies | |
run: npm ci | |
- name: Compile Backend-Server | |
run: npm run build | |
- name: Unit Test | |
run: npm run test:unit |