chore(deps): bump the dependencies group with 5 updates (#19) #99
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, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: r5n-m2-ultra | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.head_ref }} | |
| - name: Configure and checkout submodules | |
| run: | | |
| git config --global url."https://github.com/".insteadOf "git@github.com:" | |
| git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run linter | |
| run: bun lint | |
| typecheck: | |
| name: Type Check | |
| runs-on: r5n-m2-ultra | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.head_ref }} | |
| - name: Configure and checkout submodules | |
| run: | | |
| git config --global url."https://github.com/".insteadOf "git@github.com:" | |
| git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run type check | |
| run: bun type-check:ci | |
| test: | |
| name: Test | |
| runs-on: r5n-m2-ultra | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.head_ref }} | |
| - name: Configure and checkout submodules | |
| run: | | |
| git config --global url."https://github.com/".insteadOf "git@github.com:" | |
| git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run tests | |
| run: bun test --pass-with-no-tests | |
| build: | |
| name: Build | |
| runs-on: r5n-m2-ultra | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.head_ref }} | |
| - name: Configure and checkout submodules | |
| run: | | |
| git config --global url."https://github.com/".insteadOf "git@github.com:" | |
| git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Build all packages | |
| run: bun run build | |
| - name: Verify CLI executables | |
| run: | | |
| # Verify Hydra | |
| ./packages/hydra/dist/cli.js --version | |
| # Verify Sisyphus | |
| ./packages/sisyphus/dist/cli.js --version | |
| # # Verify Atlas | |
| # ./packages/atlas/dist/cli.js --version | |
| integration: | |
| name: Integration Tests | |
| needs: build | |
| runs-on: r5n-m2-ultra | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.head_ref }} | |
| - name: Configure and checkout submodules | |
| run: | | |
| git config --global url."https://github.com/".insteadOf "git@github.com:" | |
| git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Build all packages | |
| run: bun run build | |
| - name: Test Hydra CLI | |
| run: | | |
| chmod +x packages/hydra/dist/cli.js | |
| ./packages/hydra/dist/cli.js help | |
| ./packages/hydra/dist/cli.js --version | |
| - name: Test Sisyphus CLI | |
| run: | | |
| chmod +x packages/sisyphus/dist/cli.js | |
| ./packages/sisyphus/dist/cli.js | |
| ./packages/sisyphus/dist/cli.js --version | |
| # - name: Test Atlas CLI | |
| # run: | | |
| # chmod +x packages/atlas/dist/cli.js | |
| # ./packages/atlas/dist/cli.js help | |
| # ./packages/atlas/dist/cli.js doctor | |
| release-check: | |
| name: Release Check | |
| if: github.event_name == 'pull_request' | |
| runs-on: r5n-m2-ultra | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.head_ref }} | |
| - name: Configure and checkout submodules | |
| run: | | |
| git config --global url."https://github.com/".insteadOf "git@github.com:" | |
| git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Check for pending releases | |
| run: bun release:check |