chore: prepare isolated Hermes verification test workspace #1
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: Hermes review workspace | |
| on: | |
| push: | |
| branches: [codex/hermes-base-workspace-20260912] | |
| permissions: | |
| contents: read | |
| jobs: | |
| workspace: | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - uses: oven-sh/setup-bun@v2 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: '24.x' | |
| - run: bun install --frozen-lockfile | |
| - name: Prepare compiler fixtures | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| mkdir -p .review-tools/classic .review-tools/modern | |
| cp "$(command -v bun)" .review-tools/bun | |
| cd .review-tools/classic | |
| archive=$(npm pack react-native@0.77.3 --silent) | |
| tar -xzf "$archive" package/sdks/hermesc/linux64-bin/hermesc | |
| rm "$archive" | |
| cd ../modern | |
| archive=$(npm pack hermes-compiler@250829098.0.16 --silent) | |
| tar -xzf "$archive" package/hermesc/linux64-bin/hermesc package/package.json | |
| rm "$archive" | |
| - name: Archive source and test dependencies | |
| run: tar --exclude=.git -czf "$RUNNER_TEMP/hermes-review-workspace.tgz" . | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: hermes-review-workspace | |
| path: ${{ runner.temp }}/hermes-review-workspace.tgz | |
| retention-days: 1 |