Docs/WE/#469: README.MD μ€νμ μμ λ° Youtube λ°λ‘κ°κΈ° μμ΄μ½ μΆκ° #367
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: Frontend CI Pipeline | |
on: | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
build-and-test: | |
if: contains(github.event.pull_request.labels.*.name, 'π₯οΈFrontendπ₯οΈ') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js for Frontend | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: Install Frontend dependencies | |
run: cd frontend && yarn install | |
- name: Run Frontend tests | |
run: cd frontend && yarn test | |
- name: Build Frontend | |
run: cd frontend && yarn build |