Feature/GETP-182: Projects 페이지 구현 및 api 연결 #129
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile & Linting | |
on: | |
pull_request: | |
branches: | |
- develop | |
workflow_dispatch: | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- name: Code Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Typescript Compile | |
run: npm run compile | |
- name: Lint Code | |
run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
needs: lint | |
steps: | |
- name: Install NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- name: Code Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Test | |
run: npm run test |