Update README.md #65
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: Edexia AIOS Frontend CI/CD Pipeline | |
| on: | |
| push: | |
| branches: [ "main", "feat/*", "bug/*" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build-and-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code Repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Lint Code | |
| run: npm run lint | |
| - name: Build Next.js Application | |
| run: npm run build |