Skip to content

[FE] branch 변경에 따른 github workflow 수정 #4

[FE] branch 변경에 따른 github workflow 수정

[FE] branch 변경에 따른 github workflow 수정 #4

name: frontend-pull-request
on:
pull_request:
types: [opened, synchronize]
branches: [main, fe-dev]
paths:
- 'client/**'
jobs:
test:
runs-on: ubuntu-latest log
defaults:
run:
shell: bash
working-directory: ./client
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.15.1'
- name: Install dependencies
working-directory: ./client
run: npm install
- name: Run lint
working-directory: ./client
run: npm run lint