Skip to content

[INFRA] CI/CD 환경 구축 #1

[INFRA] CI/CD 환경 구축

[INFRA] CI/CD 환경 구축 #1

Workflow file for this run

name: SOPT Notification Server CI
on:
workflow_dispatch:
pull_request:
branches:
- develop
jobs:
validate:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Run Lint
run: npm run lint
- name: Build Project
run: npm run build
# 6. 테스트 실행
- name: Run Validate Script
run: |
sudo chmod +x valid.sh
./valid.sh
shell: bash