Skip to content

test(@types/node): nodejs build type추가 #16

test(@types/node): nodejs build type추가

test(@types/node): nodejs build type추가 #16

Workflow file for this run

name: React build
on:
push:
branches:
- deploy
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Clean Yarn cache
run: yarn cache clean
- name: Install Dependencies
run: yarn install --immutable
- name: Cache Yarn dependencies
uses: actions/cache@v2
with:
path: |
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
key: ${{ runner.os }}-yarn-${{ hashFiles('.yarn/cache/**/*') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install --immutable
- name: Build
run: yarn build:admin
- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 cp \
--recursive \
--region ap-northeast-2 \
packages/admin/dist s3://yangbong-front