feat: GraphGuBox 및 DongChart 컴포넌트 추가, GraphGuApiResponse 인터페이스 수정 및 u… #54
This file contains hidden or 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: S3 deploy | |
| on: | |
| push: | |
| branches: ['main'] | |
| env: | |
| AWS_REGION: ap-northeast-2 | |
| S3_BUCKET_NAME: lighthouse-fe | |
| permissions: | |
| contents: read | |
| jobs: | |
| deploy: | |
| name: Deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@master | |
| - name: .env setting | |
| run: | | |
| echo "VITE_KAKAOMAP_API_KEY=${{ secrets.VITE_KAKAOMAP_API_KEY }}" >> .env | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| run_install: false | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'pnpm' | |
| - name: Install Dependencies | |
| run: pnpm install --no-frozen-lockfile --force | |
| - name: Lint Code | |
| run: pnpm lint | |
| - name: Build | |
| run: pnpm run build | |
| - name: Configure AWS credentials | |
| uses: aws-actions/configure-aws-credentials@v4 | |
| with: | |
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| aws-region: ${{ env.AWS_REGION }} | |
| - name: Upload to AWS S3 | |
| run: | | |
| aws s3 cp \ | |
| --recursive \ | |
| --region ap-northeast-2 \ | |
| ./dist s3://${{env.S3_BUCKET_NAME}} |