ci: cleanup
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / docs (push) Successful in 22s
Build, Package and Push Images / build (push) Successful in 24s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Successful in 30s
Build, Package and Push Images / container-build (push) Successful in 1m15s
Build, Package and Push Images / container-sbom-scan (push) Successful in 32s

This commit is contained in:
Timothy Schenk 2023-11-16 07:21:10 +01:00
parent a2252efd3a
commit 40c9224158

View file

@ -30,23 +30,14 @@ jobs:
run: |
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
echo "::add-path::$HOME/.nvm"
export PATH="$HOME/.nvm:$PATH"
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 18
nvm use 18
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc
echo $(which node)
echo "::add-path::$(dirname $(which npm))"
nvm --version
echo "NVM_DIR=$HOME/.nvm" >> $GITHUB_ENV
- name: Check Node.js version
run: |
cat $GITHUB_PATH
cat $GITHUB_ENV
echo $PATH
echo $GITHUB_PATH
echo $GITHUB_ENV
node -v
npm -v
- name: Checkout repository
@ -65,13 +56,13 @@ jobs:
- name: Upload documentation
uses: actions/upload-artifact@v3
with:
name: docs
name: wiki.zip
path: artifacts/wiki.zip
retention-days: 14
- name: Upload algolia-indexes
uses: actions/upload-artifact@v3
with:
name: algolia-indexes
name: algolia-indexes.zip
path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
retention-days: 14