chore(deps): Bump cyclonedx-bom from 4.6.1 to 5.1.1 #971
This file contains 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: Build | |
on: | |
push: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Re-use NPM cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Re-use container image layers | |
uses: jpribyl/action-docker-layer-caching@v0.1.1 | |
continue-on-error: true | |
- name: Build container image | |
run: > | |
docker compose | |
build | |
--build-arg USER_ID="$(id -u)" | |
--build-arg GROUP_ID="$(id -g)" | |
- name: Install toolchain | |
run: > | |
docker compose | |
run env | |
npm ci | |
- name: Run script | |
run: > | |
docker compose | |
run env | |
npm run docs:build |