Puesta de url correcta #71
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: Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies (users) | |
| run: npm --prefix users ci | |
| - name: Install dependencies (webapp) | |
| run: npm --prefix webapp ci | |
| # Si tienes builds específicos (opcional) | |
| #- name: Build webapp | |
| # run: npm --prefix webapp run build | |
| #- name: Build users | |
| # run: npm --prefix users run build | |
| # Aquí se podrían añadir pasos de build adicionales si los necesitas |