Feat : redux toolkit 기본 세팅 #34 #19
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: client lint | |
on: | |
push: | |
branches: [feat/*] | |
paths: | |
- "frontend/**" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: "frontend" | |
strategy: | |
matrix: | |
node-version: [16.x, 21.x] | |
steps: | |
- name: 코드 체크아웃 | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install | |
run: npm install | |
- name: lint | |
run: npm run lint | |
- name: tsc | |
run: tsc |