로그인 필요한 페이지에서 로그인 안내 문구 #93
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: Velog Server build workflow | |
on: | |
pull_request: | |
branches: ['main', 'development', 'hotfix'] | |
paths: | |
- 'packages/velog-server/**' | |
- '.github/workflows/velog-server-build.yml' | |
jobs: | |
server-build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.18.2] | |
defaults: | |
run: | |
working-directory: './packages/velog-server' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.6.12 | |
- name: Setup Node.js v${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- run: pnpm install --no-frozen-lockfile | |
- run: pnpm prisma:copy | |
- run: npx prisma generate | |
- run: pnpm ssm pull -e stage | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
- run: pnpm build |