Feature/default seller buyer review image-fixed the build error #1006
This file contains hidden or 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: Map of Pi Build | |
# Controls when the workflow will execute | |
on: | |
# Triggers the workflow on push or pull request events for the "main" and "dev" branch | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
name: 🏗️ Build | |
runs-on: ubuntu-latest | |
# The sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
# Frontend CI/CD Process | |
- name: Install Dependencies for Frontend | |
run: npm ci | |
- name: Build Frontend | |
run: npm run build | |
- name: Linting Frontend | |
run: npm run lint | |
- name: Execute Tests for Frontend | |
run: npm run test -- --passWithNoTests |