Skip to content

feat: 밸런스게임 조회 모바일 페이지 ui 구현 및 api 연동 #124

feat: 밸런스게임 조회 모바일 페이지 ui 구현 및 api 연동

feat: 밸런스게임 조회 모바일 페이지 ui 구현 및 api 연동 #124

Workflow file for this run

name: build
on:
push:
branches:
- dev
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache npm packages
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm
- name: Install dependencies
run: npm install
- name: Build the project
env:
API_URL: ${{ secrets.API_URL }}
run: npm run build
- name: Run SonarCloud analysis
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}