Worker unit tests, coverage floors, and an SBOM per main build #52
@@ -63,7 +63,7 @@ jobs:
|
||||
- name: Audit production and dev dependencies
|
||||
run: npm audit --audit-level=high
|
||||
- name: Software bill of materials (production dependencies)
|
||||
run: npm sbom --sbom-format cyclonedx --omit dev > sbom.cdx.json
|
||||
run: npm sbom --sbom-format cyclonedx --omit dev --package-lock-only > sbom.cdx.json
|
||||
- name: Keep the SBOM for each main build
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
uses: actions/upload-artifact@c6a3b2bd78b3985e4b2f15397fec357f0fd808de # v3.2.2-node20 (v4 is unsupported on Gitea)
|
||||
|
||||
Reference in new issue
Block a user