Merge pull request #173 from jihwooon/issue-99 #30
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 Client | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- "client/**" | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "client/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./client | |
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: ./client/package-lock.json | |
- name: install | |
run: npm install | |
- name: typecheck | |
run: npm run typecheck | |