ci: let's test setup-node
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 25s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / docs (push) Failing after 38s
Build, Package and Push Images / sbom-scan (push) Successful in 31s
Build, Package and Push Images / container-build (push) Successful in 1m18s
Build, Package and Push Images / container-sbom-scan (push) Successful in 32s
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 25s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / docs (push) Failing after 38s
Build, Package and Push Images / sbom-scan (push) Successful in 31s
Build, Package and Push Images / container-build (push) Successful in 1m18s
Build, Package and Push Images / container-sbom-scan (push) Successful in 32s
This commit is contained in:
parent
3602d74eb4
commit
2d391834c4
1 changed files with 33 additions and 49 deletions
|
@ -22,55 +22,39 @@ jobs:
|
||||||
id: sanitize
|
id: sanitize
|
||||||
run: echo "::set-output name=sanitized_branch_name::$(echo ${{ github.ref_name }} | sed 's/\//-/g')"
|
run: echo "::set-output name=sanitized_branch_name::$(echo ${{ github.ref_name }} | sed 's/\//-/g')"
|
||||||
|
|
||||||
# docs:
|
docs:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# container: registry.jetbrains.team/p/writerside/builder/writerside-builder:${{env.DOCKER_VERSION}}
|
container: registry.jetbrains.team/p/writerside/builder/writerside-builder:${{env.DOCKER_VERSION}}
|
||||||
# steps:
|
steps:
|
||||||
# - name: Install basic dependencies
|
- name: Install Node
|
||||||
# run: |
|
uses: actions/setup-node@v4
|
||||||
# wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
|
with:
|
||||||
# echo "::add-path::$HOME/.nvm"
|
node-version: 18
|
||||||
# export PATH="$HOME/.nvm:$PATH"
|
- name: Checkout repository
|
||||||
# export NVM_DIR="$HOME/.nvm"
|
uses: https://github.com/actions/checkout@v3
|
||||||
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
- name: Build docs
|
||||||
# echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc
|
run: |
|
||||||
# echo "$HOME/.nvm" >> $GITHUB_PATH
|
set -e
|
||||||
# nvm --version
|
export DISPLAY=:99
|
||||||
# - name: Install Node
|
Xvfb :99 &
|
||||||
# run: |
|
/opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product ${{env.INSTANCE}} -output-dir artifacts/ || true
|
||||||
# echo $PATH
|
echo "Test existing of ${{ env.ARTIFACT }} artifact"
|
||||||
# echo $GITHUB_PATH
|
test -e artifacts/${{ env.ARTIFACT }}
|
||||||
# cat $GITHUB_PATH
|
- name: rename artifact
|
||||||
# echo $NVM_DIR
|
run: |
|
||||||
# ls -la $HOME/.nvm
|
mv artifacts/${{ env.ARTIFACT }} artifacts/wiki.zip
|
||||||
# nvm install 18
|
- name: Upload documentation
|
||||||
# nvm use 18
|
uses: actions/upload-artifact@v3
|
||||||
# node -v
|
with:
|
||||||
# - name: Checkout repository
|
name: docs
|
||||||
# uses: https://github.com/actions/checkout@v3
|
path: artifacts/wiki.zip
|
||||||
# - name: Build docs
|
retention-days: 14
|
||||||
# run: |
|
- name: Upload algolia-indexes
|
||||||
# set -e
|
uses: actions/upload-artifact@v3
|
||||||
# export DISPLAY=:99
|
with:
|
||||||
# Xvfb :99 &
|
name: algolia-indexes
|
||||||
# /opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product ${{env.INSTANCE}} -output-dir artifacts/ || true
|
path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
|
||||||
# echo "Test existing of ${{ env.ARTIFACT }} artifact"
|
retention-days: 14
|
||||||
# test -e artifacts/${{ env.ARTIFACT }}
|
|
||||||
# - name: rename artifact
|
|
||||||
# run: |
|
|
||||||
# mv artifacts/${{ env.ARTIFACT }} artifacts/wiki.zip
|
|
||||||
# - name: Upload documentation
|
|
||||||
# uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: docs
|
|
||||||
# path: artifacts/wiki.zip
|
|
||||||
# retention-days: 14
|
|
||||||
# - name: Upload algolia-indexes
|
|
||||||
# uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: algolia-indexes
|
|
||||||
# path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
|
|
||||||
# retention-days: 14
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue