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:
parent
46f86c0091
commit
60bad0fcd3
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user