Keep CI test stage focused: drop build step

The Lint → Test → Security pattern keeps each stage to a single concern.
`npm run build` belonged to test only to publish a PR-preview artifact;
release.yml already handles production builds, and developers can run
`npm run build` locally. Removing it from the test stage:

- aligns with code-standards/ci/pipeline-structure.md
- shaves ~70s off PR CI time
- removes the "dist" artifact upload (coverage upload stays)
This commit is contained in:
Bruno Miiller 2026-05-19 23:09:27 -03:00
parent 46f86c0091
commit 60bad0fcd3

View File

@ -62,14 +62,6 @@ jobs:
- run: npm ci - run: npm ci
- name: Testes com cobertura - name: Testes com cobertura
run: npm run test:coverage run: npm run test:coverage
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: dist
path: |
main.js
manifest.json
styles.css
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with: