feat: add ECONOMICS.md GTM.md LANDING_COPY.md METRICS.md #35
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| cache-dependency-path: | | |
| backend/package-lock.json | |
| frontend/package-lock.json | |
| # --- BACKEND STEPS --- | |
| - name: Install Backend Dependencies | |
| run: npm install | |
| working-directory: ./backend | |
| - name: Lint Backend | |
| run: npm run lint | |
| working-directory: ./backend | |
| - name: Run Backend Tests | |
| run: npm test | |
| working-directory: ./backend | |
| # --- FRONTEND STEPS --- | |
| - name: Install Frontend Dependencies | |
| run: npm install | |
| working-directory: ./frontend | |
| - name: Lint Frontend | |
| run: npm run lint | |
| working-directory: ./frontend |