-
Notifications
You must be signed in to change notification settings - Fork 19
44 lines (37 loc) · 1.05 KB
/
velog-web-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Velog Web build workdflow
on:
pull_request:
branches: ['main', 'development', 'hotfix']
paths:
- 'packages/velog-web/**'
- '.github/workflows/velog-web-build.yml'
jobs:
web-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.11.1]
defaults:
run:
working-directory: './packages/velog-web'
steps:
- uses: actions/checkout@v3
- name: Install pnpm
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 }}
- name: Install Dependencies
run: pnpm install --no-frozen-lockfile
- name: add env
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 }}
- name: env copy
run: pnpm env:copy -e stage
- name: Build
run: pnpm build