Bump the dependencies group across 1 directory with 2 updates #41
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: Example Tests | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| STAMPED_VERSION: v9.9.9-ci.${{ github.event.pull_request.head.sha }} | |
| jobs: | |
| examples: | |
| name: ${{ matrix.example }} | |
| runs-on: macos-26 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| example: | |
| - cli-contract | |
| - options | |
| - envvars | |
| - version | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: .bun-version | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile --ignore-scripts | |
| - name: Prepare release-shaped build | |
| uses: tanaabased/prepare-release-action@v1 | |
| with: | |
| version: dev | |
| sync: false | |
| commands: | | |
| bun run build | |
| version-injector dist/boot.sh --style sh --version "${{ env.STAMPED_VERSION }}" | |
| - name: Create boot alias for Leia examples | |
| shell: bash | |
| run: ln -sf dist/boot.sh dist/boot | |
| - name: Put prepared scripts on PATH | |
| shell: bash | |
| run: echo "$PWD/dist" >> "$GITHUB_PATH" | |
| - name: Run Leia-backed example | |
| shell: bash | |
| env: | |
| TMPDIR: ${{ github.workspace }}/examples/${{ matrix.example }}/.tmp | |
| OPTOKEN: ${{ secrets.TANAAB_OP_TEST }} | |
| run: | | |
| brew update | |
| mkdir -p "$TMPDIR" | |
| bun run leia "examples/${{ matrix.example }}/README.md" -c "Destroy tests" --stdin | |
| # - name: Debug boot.sh invocation | |
| # shell: bash | |
| # env: | |
| # TMPDIR: ${{ github.workspace }}/examples/${{ matrix.example }}/.tmp | |
| # OPTOKEN: ${{ secrets.TANAAB_OP_TEST }} | |
| # run: | | |
| # boot.sh \ | |
| # --op-token "$OPTOKEN" \ | |
| # --ssh-key 'omfsw2uztmi2xqpid5g3kiv6ba/id_test' \ | |
| # --me "$GITHUB_WORKSPACE" \ | |
| # --debug |