fix: update record package to resolve missing recordings on macOS 26+ #371
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-setup: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| [ | |
| macos-15, | |
| macos-15-intel, | |
| macos-26, | |
| macos-26-intel, | |
| xcode-27, | |
| windows-2022, | |
| windows-2025, | |
| windows-11-arm, | |
| ubuntu-26.04, | |
| ubuntu-26.04-arm, | |
| ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn ci | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: artifacts-test-${{ matrix.os }} | |
| path: | | |
| **/recordings/**/* | |
| test-setup-ignore-tcc-db: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn ci:ignore-tcc-db | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: artifacts-test-ignore-tcc-db-${{ matrix.os }} | |
| path: | | |
| **/recordings/**/* | |
| test-setup-unsupported: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: yarn install --frozen-lockfile | |
| - name: Setup should fail | |
| run: | | |
| set +e | |
| yarn ci | |
| exit_code=$? | |
| if [ "$exit_code" -eq 0 ]; then | |
| echo "Expected setup to fail, but it succeeded." | |
| exit 1 | |
| fi | |
| echo "Setup correctly failed with exit code $exit_code." | |
| test-install: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| [ | |
| macos-15, | |
| macos-15-intel, | |
| macos-26, | |
| macos-26-intel, | |
| xcode-27, | |
| windows-2022, | |
| windows-2025, | |
| windows-11-arm, | |
| ubuntu-26.04, | |
| ubuntu-26.04-arm, | |
| ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn build | |
| - shell: bash | |
| run: | | |
| tmpdir=$(mktemp -d) | |
| cd "$tmpdir" | |
| npm init -y | |
| npm install @guidepup/guidepup | |
| npm install -g "${GITHUB_WORKSPACE}" | |
| export PATH="$(npm bin -g):$PATH" | |
| cat > node_modules/@guidepup/guidepup/manifest.json <<'EOF' | |
| { | |
| "version": 1, | |
| "screenReaders": [ | |
| { | |
| "id": "orca", | |
| "name": "Orca", | |
| "platforms": ["linux"], | |
| "defaultDownload": true, | |
| "assets": [ | |
| { | |
| "version": "0.2.0-50.2", | |
| "platformVersion": "7", | |
| "repository": "guidepup/orca", | |
| "asset": "guidepup-orca-0.2.0-50.2.tar.gz", | |
| "sha256": "9ce2b7962e6e3e5245782e1c2d628feeb2637484d32139dffe841fd585e07b71" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "nvda", | |
| "name": "NVDA", | |
| "platforms": ["win32"], | |
| "defaultDownload": true, | |
| "assets": [ | |
| { | |
| "version": "0.2.1-2026.1.1", | |
| "repository": "guidepup/nvda", | |
| "asset": "guidepup-nvda-0.2.1-2026.1.1.zip", | |
| "sha256": "b6fdfde86190c7c14132d459f2f88995da6251ded431e23947d676ffb152f963" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "voiceover", | |
| "name": "VoiceOver", | |
| "platforms": ["darwin"], | |
| "defaultDownload": true, | |
| "assets": [ | |
| { | |
| "version": "0.0.1-VoiceOver4", | |
| "platformVersion": "23", | |
| "repository": "guidepup/voiceover", | |
| "asset": "guidepup-voiceover-preferences-macos-14.dmg", | |
| "sha256": "fd88500b740bb3389ec295465d35a5351d49a57fe120983aed3c761cfb349c6a" | |
| }, | |
| { | |
| "version": "0.0.1-VoiceOver4", | |
| "platformVersion": "24", | |
| "repository": "guidepup/voiceover", | |
| "asset": "guidepup-voiceover-preferences-macos-15.dmg", | |
| "sha256": "ef5a533e38f37aff44682b125b07855b4cd0eb24d04416d48df5097386580799" | |
| }, | |
| { | |
| "version": "0.0.1-VoiceOver4", | |
| "platformVersion": "25", | |
| "repository": "guidepup/voiceover", | |
| "asset": "guidepup-voiceover-preferences-macos-26.dmg", | |
| "sha256": "c46e353d4f2d4a717d3362211de638ee55fcb58dbec9cf9abd0170c35d41b225" | |
| }, | |
| { | |
| "version": "0.1.0-VoiceOver4", | |
| "platformVersion": "27", | |
| "repository": "guidepup/voiceover", | |
| "asset": "guidepup-voiceover-preferences-xcode-27.dmg", | |
| "sha256": "3ea13925dc75bf42df0ffe981814efc2a6d822b13321e2d5b0cb77593d15cee2" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| EOF | |
| guidepup install | |
| test-install-unsupported: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04, ubuntu-24.04-arm] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn build | |
| - shell: bash | |
| run: | | |
| tmpdir=$(mktemp -d) | |
| cd "$tmpdir" | |
| npm init -y | |
| npm install @guidepup/guidepup | |
| npm install -g "${GITHUB_WORKSPACE}" | |
| export PATH="$(npm bin -g):$PATH" | |
| cat > node_modules/@guidepup/guidepup/manifest.json <<'EOF' | |
| { | |
| "version": 1, | |
| "screenReaders": [ | |
| { | |
| "id": "orca", | |
| "name": "Orca", | |
| "platforms": ["linux"], | |
| "defaultDownload": true, | |
| "assets": [ | |
| { | |
| "version": "0.2.0-50.2", | |
| "platformVersion": "7", | |
| "repository": "guidepup/orca", | |
| "asset": "guidepup-orca-0.2.0-50.2.tar.gz", | |
| "sha256": "9ce2b7962e6e3e5245782e1c2d628feeb2637484d32139dffe841fd585e07b71" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "nvda", | |
| "name": "NVDA", | |
| "platforms": ["win32"], | |
| "defaultDownload": true, | |
| "assets": [ | |
| { | |
| "version": "0.2.1-2026.1.1", | |
| "repository": "guidepup/nvda", | |
| "asset": "guidepup-nvda-0.2.1-2026.1.1.zip", | |
| "sha256": "b6fdfde86190c7c14132d459f2f88995da6251ded431e23947d676ffb152f963" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "voiceover", | |
| "name": "VoiceOver", | |
| "platforms": ["darwin"], | |
| "defaultDownload": true, | |
| "assets": [ | |
| { | |
| "version": "0.0.1-VoiceOver4", | |
| "platformVersion": "23", | |
| "repository": "guidepup/voiceover", | |
| "asset": "guidepup-voiceover-preferences-macos-14.dmg", | |
| "sha256": "fd88500b740bb3389ec295465d35a5351d49a57fe120983aed3c761cfb349c6a" | |
| }, | |
| { | |
| "version": "0.0.1-VoiceOver4", | |
| "platformVersion": "24", | |
| "repository": "guidepup/voiceover", | |
| "asset": "guidepup-voiceover-preferences-macos-15.dmg", | |
| "sha256": "ef5a533e38f37aff44682b125b07855b4cd0eb24d04416d48df5097386580799" | |
| }, | |
| { | |
| "version": "0.0.1-VoiceOver4", | |
| "platformVersion": "25", | |
| "repository": "guidepup/voiceover", | |
| "asset": "guidepup-voiceover-preferences-macos-26.dmg", | |
| "sha256": "c46e353d4f2d4a717d3362211de638ee55fcb58dbec9cf9abd0170c35d41b225" | |
| }, | |
| { | |
| "version": "0.1.0-VoiceOver4", | |
| "platformVersion": "27", | |
| "repository": "guidepup/voiceover", | |
| "asset": "guidepup-voiceover-preferences-xcode-27.dmg", | |
| "sha256": "3ea13925dc75bf42df0ffe981814efc2a6d822b13321e2d5b0cb77593d15cee2" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| EOF | |
| set +e | |
| guidepup install | |
| exit_code=$? | |
| if [ "$exit_code" -eq 0 ]; then | |
| echo "Expected install to fail, but it succeeded." | |
| exit 1 | |
| fi | |
| echo "Install correctly failed with exit code $exit_code." |