장바구니 조회 서비스 및 JWT 토큰 검증 개선 #78
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: book-store Server | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- "server/**" | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "server/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./server | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21.2.0 | |
cache: "npm" | |
cache-dependency-path: ./server/package-lock.json | |
- name: install | |
run: npm install | |
- name: test | |
run: npm run test:only-changed | |
- name: lint | |
run: npm run lint | |