Fix naver env #295
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 CI | |
on: | |
pull_request: | |
branches: ["develop"] | |
defaults: | |
run: | |
working-directory: ./frontend | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
if: contains(join(github.event.pull_request.labels.*.name, ','), '💻Frontend') | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: frontend | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
cache-dependency-path: "**/package-lock.json" | |
- run: npm ci | |
- name: Run test | |
run: npm run test | |
- name: Run build | |
run: npm run build |