Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
yoopark committed Nov 3, 2023
1 parent 28d9835 commit 1b1e7a9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 50 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,7 @@ jobs:
submodules: true
token: ${{ secrets.READ_PRIVATE_SUBMODULE_TOKEN }}

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 19

- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Install dependencies
run: pnpm i

- name: Build
run: pnpm run build:dev
- name: Waiting build using Docker Compose
run: |
docker compose -f docker-compose.dev.yml up -d
docker compose -f docker-compose.dev.yml logs -f
25 changes: 8 additions & 17 deletions .github/workflows/s3-ci-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,15 @@ jobs:
submodules: true
token: ${{ secrets.READ_PRIVATE_SUBMODULE_TOKEN }}

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 19

- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Install dependencies
run: pnpm i
working-directory: ${{ env.WORKING_DIRECTORY }}
- name: Waiting build using Docker Compose
run: |
docker compose -f docker-compose.dev.yml up -d
docker compose -f docker-compose.dev.yml logs -f
- name: Build
run: pnpm run build:dev
working-directory: ${{ env.WORKING_DIRECTORY }}
- name: Copy built files to ./dist
run: |
mkdir -p ./dist
cp -r ./app/dist/* ./dist/
- name: Install AWS
run: |
Expand Down
25 changes: 8 additions & 17 deletions .github/workflows/s3-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,15 @@ jobs:
submodules: true
token: ${{ secrets.READ_PRIVATE_SUBMODULE_TOKEN }}

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 19

- name: Pnpm setup
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Install dependencies
run: pnpm i
working-directory: ${{ env.WORKING_DIRECTORY }}
- name: Waiting build using Docker Compose
run: |
docker compose -f docker-compose.prod.yml up -d
docker compose -f docker-compose.prod.yml logs -f
- name: Build
run: pnpm run build
working-directory: ${{ env.WORKING_DIRECTORY }}
- name: Copy built files to ./dist
run: |
mkdir -p ./dist
cp -r ./app/dist/* ./dist/
- name: Install AWS
run: |
Expand Down

0 comments on commit 1b1e7a9

Please sign in to comment.