Merge pull request #37 from YagoBorba/feature/improve-documentation #18
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: Continuous Integration | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 1. Checkout do Repositório | |
| uses: actions/checkout@v4 | |
| - name: 2. Configurar o Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: 3. Instalar Dependências | |
| run: npm ci | |
| - name: 4. Compilar todos os pacotes | |
| run: npm run build | |
| - name: 5. Rodar os Testes de todos os pacotes | |
| run: npm test |