Compare commits
3 Commits
renovate/h
...
renovate/h
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e65a88a1c8 | ||
|
1e694fcbf0
|
|||
|
077dbf95c2
|
@@ -13,7 +13,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://git.quad4.io/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- name: Setup Node.js
|
||||
uses: https://git.quad4.io/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
uses: https://git.quad4.io/actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
|
||||
with:
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://git.quad4.io/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- name: Setup Node.js
|
||||
uses: https://git.quad4.io/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
uses: https://git.quad4.io/actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
|
||||
with:
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
uses: https://git.quad4.io/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: https://git.quad4.io/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
uses: https://git.quad4.io/actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
|
||||
with:
|
||||
node-version: '22'
|
||||
cache: pnpm
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
run: task package
|
||||
|
||||
- name: Configure npm for publishing
|
||||
uses: https://git.quad4.io/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
uses: https://git.quad4.io/actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
|
||||
with:
|
||||
node-version: '22'
|
||||
registry-url: 'https://git.quad4.io/api/packages/quad4-software/npm/'
|
||||
|
||||
@@ -90,6 +90,8 @@ The project uses [Task](https://taskfile.dev/) for all development tasks.
|
||||
| podman-build | Build Podman image |
|
||||
| podman-run | Run Podman container |
|
||||
| podman | Build and run Podman container |
|
||||
| scan | Scan container image with trivy |
|
||||
| sbom | Generate SBOM with trivy |
|
||||
| version:minor | Bump version minor |
|
||||
| version:major | Bump version major |
|
||||
| setup | Setup development environment |
|
||||
|
||||
14
Taskfile.yml
14
Taskfile.yml
@@ -25,7 +25,7 @@ tasks:
|
||||
publish:
|
||||
desc: Publish to npm registry
|
||||
cmds:
|
||||
- pnpm publish
|
||||
- pnpm publish --no-git-checks
|
||||
|
||||
preview:
|
||||
desc: Preview production build
|
||||
@@ -80,6 +80,18 @@ tasks:
|
||||
desc: Build and run Podman container
|
||||
deps: [podman-build, podman-run]
|
||||
|
||||
scan:
|
||||
desc: Scan container image with trivy
|
||||
cmds:
|
||||
- trivy image --scanners vuln surveilled
|
||||
|
||||
sbom:
|
||||
desc: Generate SBOM with trivy
|
||||
cmds:
|
||||
- mkdir -p sbom
|
||||
- trivy fs --format spdx-json --include-dev-deps --output sbom/sbom.spdx.json .
|
||||
- trivy fs --format cyclonedx --include-dev-deps --output sbom/sbom.cyclonedx.json .
|
||||
|
||||
setup:
|
||||
desc: Setup development environment
|
||||
cmds:
|
||||
|
||||
Reference in New Issue
Block a user