Bump the npm_and_yarn group across 3 directories with 5 updates #3552
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
| # Copyright 2026 OpenC3, Inc. | |
| # All Rights Reserved. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| # See LICENSE.md for more details. | |
| # This file may also be used under the terms of a commercial license | |
| # if purchased from OpenC3, Inc. | |
| name: Build UBI | |
| # Only run on a push to main to avoid running for all the dependabot PRs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| openc3-build-ubi: | |
| if: ${{ github.actor != 'dependabot[bot]' }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: login to ironbank | |
| # This `shell` line is required to get around a known issue: https://github.com/actions/runner/issues/241#issuecomment-745902718 | |
| shell: 'script -q -e -c "bash {0}"' | |
| env: | |
| # Create ENV variable for the IronBank registry CLI token, which is stored as a secret in GitHub | |
| # This is done to avoid expanding secrets directly in a run block | |
| # where they may be exposed in process lists, shell history, or files. | |
| IRONBANK_REGISTRY_CLI: ${{ secrets.IRONBANK_REGISTRY_CLI }} | |
| run: echo "$IRONBANK_REGISTRY_CLI" | docker login registry1.dso.mil -u jmthomas --password-stdin | |
| - name: openc3.sh build-ubi | |
| # This `shell` line is required to get around a known issue: https://github.com/actions/runner/issues/241#issuecomment-745902718 | |
| shell: 'script -q -e -c "bash {0}"' | |
| run: ./openc3.sh build-ubi | |
| - name: openc3.sh run-ubi | |
| shell: 'script -q -e -c "bash {0}"' | |
| run: ./openc3.sh run-ubi | |
| # Allow the containers to spin up | |
| - name: Sleep for 3min | |
| run: sleep 180s | |
| shell: bash | |
| # Check container status | |
| - name: Check container status | |
| shell: bash | |
| run: | | |
| docker ps | |
| if docker ps | grep -q Restarting; then | |
| echo "ERROR: One or more containers are restarting" | |
| exit 1 | |
| fi | |
| docker logs cosmos-openc3-cosmos-init-1 | |
| docker logs cosmos-openc3-operator-1 | |
| if docker ps | grep -q unhealthy; then | |
| echo "ERROR: One or more containers are unhealthy" | |
| exit 1 | |
| fi |