feat: add --skip-if-empty option to argos finalize #1371
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
| jobs: | |
| lint: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| - name: Lint | |
| run: npm run lint | |
| check-types: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| - name: Check types | |
| run: npm run check-types | |
| check-format: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| - name: Check format | |
| run: npm run check-format | |
| unit: | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22, 24, 26] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Test | |
| run: npm run test | |
| e2e-core: | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22, 24, 26] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Run integration tests | |
| run: pnpm exec -- turbo run e2e --filter=@argos-ci/core --filter=@argos-ci/cli | |
| env: | |
| ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }} | |
| USER_ACCESS_TOKEN: ${{ secrets.USER_ACCESS_TOKEN }} | |
| NODE_VERSION: ${{ matrix.node-version }} | |
| OS: ${{ matrix.os }} | |
| e2e-core-oidc: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| - name: Build | |
| run: pnpm exec -- turbo run build --filter=@argos-ci/cli | |
| - name: Run OIDC upload e2e | |
| run: pnpm --filter=@argos-ci/cli run e2e-oidc | |
| env: | |
| NODE_VERSION: current | |
| OS: ubuntu-latest | |
| e2e-core-tokenless: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| - name: Build | |
| run: pnpm exec -- turbo run build --filter=@argos-ci/cli | |
| - name: Run tokenless upload e2e | |
| run: pnpm --filter=@argos-ci/cli run e2e-tokenless | |
| env: | |
| NODE_VERSION: current | |
| OS: ubuntu-latest | |
| e2e-cypress: | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [lts/*] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Run integration tests | |
| run: pnpm exec -- turbo run e2e --filter=@argos-ci/cypress | |
| env: | |
| ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }} | |
| NODE_VERSION: ${{ matrix.node-version }} | |
| OS: ${{ matrix.os }} | |
| e2e-playwright: | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [lts/*] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Run integration tests | |
| run: pnpm exec -- turbo run e2e --filter=@argos-ci/playwright | |
| env: | |
| ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }} | |
| NODE_VERSION: ${{ matrix.node-version }} | |
| OS: ${{ matrix.os }} | |
| e2e-puppeteer: | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [lts/*] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Run integration tests | |
| run: pnpm exec -- turbo run e2e --filter=@argos-ci/puppeteer | |
| env: | |
| ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }} | |
| NODE_VERSION: ${{ matrix.node-version }} | |
| OS: ${{ matrix.os }} | |
| e2e-webdriverio: | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [lts/*] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Run integration tests | |
| run: pnpm exec -- turbo run e2e --filter=@argos-ci/webdriverio | |
| env: | |
| ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }} | |
| NODE_VERSION: ${{ matrix.node-version }} | |
| OS: ${{ matrix.os }} | |
| e2e-storybook: | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [lts/*] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Serve Storybook and run integration tests | |
| run: pnpm exec -- turbo run e2e --filter=@argos-ci/storybook | |
| env: | |
| ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }} | |
| NODE_VERSION: ${{ matrix.node-version }} | |
| OS: ${{ matrix.os }} | |
| e2e-vitest: | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [lts/*] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup deps | |
| uses: ./.github/actions/setup-deps | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Run integration tests | |
| run: pnpm exec -- turbo run e2e --filter=@argos-ci/vitest | |
| env: | |
| ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }} | |
| NODE_VERSION: ${{ matrix.node-version }} | |
| OS: ${{ matrix.os }} |