hello-world #11
Workflow file for this run
This file contains hidden or 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: Generate SBOM | |
| on: workflow_dispatch | |
| jobs: | |
| setup-node: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Setup Node.js 22.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| - name: Verify Node.js installation | |
| run: | | |
| node --version | |
| npm --version | |
| - name: Install quilt | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y quilt | |
| quilt --version | |
| - name: Copy source code | |
| run: | | |
| mkdir -p build/private/code-editor-src | |
| cd build/private/code-editor-src | |
| git init | |
| cd ../../../ | |
| ls | |
| rsync -av --exclude='.git' --exclude='node_modules' third-party-src/ build/private/code-editor-src | |
| ls build/private/code-editor-src | |
| - name: Install Node JS deps | |
| run: | | |
| cd build/private/code-editor-src | |
| npm install --non-interactive | |
| - name: Get SBOM | |
| run: | | |
| npm sbom --sbom-format cyclonedx | |