[FE] Input μ»΄ν¬λνΈ κ΄λ ¨ν κΈ°λ₯ μμ , useDynamic-* ν κ΄λ ¨ μ€λ₯ μμ , λ€μ΄λ° ν΅μΌ, μλ―Έλ₯Ό λͺ ννκ² λ΄λλ‘ λ€μ΄λ° μμ #11
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: frontend-pull-request | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: [main, fe-dev] | |
paths: | |
- 'client/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
working-directory: ./client | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.15.1' | |
- name: Cache dependencies | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm- | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
npm install | |
- name: Run lint | |
run: npm run lint |