๐ [Fix] socialLink #54
Workflow file for this run
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
# Dependency Install, Build, Start๋ฅผ ์ฌ๊ธฐ์ ๋คํฉ๋๋ค. | |
name: Build Bot | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
paths: | |
- 'src/**' # source code | |
- 'e2e/**' # e2e test | |
- 'package.json' # ์์กด์ฑ | |
- 'package-lock.json' # ์์กด์ฑ | |
- 'prisma/**' # prisma, bin file/schema | |
- 'tsconfig.json' # tsconfig | |
- 'tsconfig.build.json' # tsconfig | |
- 'appspec.yml' # codedeploy | |
env: | |
AWS_REGION: ap-northeast-2 | |
jobs: | |
deploy: | |
permissions: | |
id-token: write | |
contents: write | |
name: Build Check Application | |
runs-on: ubuntu-22.04 | |
steps: | |
# ๋ ํฌ์งํ ๋ฆฌ๋ก ์ด๋ํฉ๋๋ค. | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.16.0 | |
- uses: actions/cache@v3 | |
id: cache | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}. | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install Dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci | |
- name: prisma generate | |
run: npx prisma generate | |
- name: build | |
run: npm run build |