Skip to content

웹소켓 연결 종료 시 재연결 로직 수정 #43

웹소켓 연결 종료 시 재연결 로직 수정

웹소켓 연결 종료 시 재연결 로직 수정 #43

Workflow file for this run

name: 'CI'
on:
push:
branches:
- main
jobs:
test:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Cache node modules
uses: actions/cache@v3
id: cache
with:
path: node_modules
key: npm-packages-${{ hashFiles('**/package-lock.json') }}
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install --legacy-peer-deps
- run: npm run build
if: ${{ always() }}
- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}
run: aws s3 cp --recursive --region ap-northeast-2 build s3://lemonair-fe