Skip to content

Merge pull request #46 from LikeLion-KNU/feature/#43 #117

Merge pull request #46 from LikeLion-KNU/feature/#43

Merge pull request #46 from LikeLion-KNU/feature/#43 #117

Workflow file for this run

name: Compile & Linting
on:
pull_request:
branches:
- dev
push:
branches:
- dev
env:
NODE_VERSION: 20
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{env.NODE_VERSION}}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm i
- name: Typescript Compile
run: npm run compile
lint:
runs-on: ubuntu-latest
needs: compile
steps:
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{env.NODE_VERSION}}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm i
- name: Lint Code
run: npm run lint
- name: Format Code
run: npm run format