build: bump metro from 0.10.3 to 0.10.4 #248
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 CI | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| WORKFLOW_OUT_TEST_DIR: ./workflow-out-test-dir | |
| jobs: | |
| test-bump-version-outputs: | |
| name: Test bump-version outputs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run checkout github action | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Write bump-version outputs | |
| id: write | |
| uses: ./actions/write-bump-version-outputs | |
| with: | |
| current-version: 1.2.3 | |
| new-version: 2.0.0 | |
| workflow-out-dir: ${{ env.WORKFLOW_OUT_TEST_DIR }} | |
| - name: Read bump-version outputs | |
| id: read | |
| uses: ./actions/read-bump-version-outputs | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| workflow-out-dir: ${{ env.WORKFLOW_OUT_TEST_DIR }} | |
| workflow-run-id: ${{ github.run_id }} | |
| - name: Check bump-version outputs | |
| env: | |
| CURRENT_VERSION: ${{ steps.read.outputs.current-version }} | |
| NEW_VERSION: ${{ steps.read.outputs.new-version }} | |
| VERSION_BUMPED: ${{ steps.read.outputs.version-bumped }} | |
| run: | | |
| [[ $CURRENT_VERSION == "1.2.3" ]] || exit 1 | |
| [[ $NEW_VERSION == "2.0.0" ]] || exit 1 | |
| [[ $VERSION_BUMPED == "true" ]] || exit 1 | |
| shell: bash |