Skip to content

added env example

added env example #46

Workflow file for this run

name: Static Analysis
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
lint-check:
name: ESLint Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn install
- name: Run ESLint check
run: yarn lint
format-check:
name: Prettier Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn install
- name: Run Prettier check
run: yarn format:check
build:
name: Build
runs-on: ubuntu-latest
needs:
- lint-check
- format-check
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build:backend