diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0913b4860..2cfc844be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,12 @@ jobs: name: 'determine changes' runs-on: ubuntu-latest outputs: - changes: ${{ steps.changed-files-yaml.outputs.src_any_changed }} + changes: ${{ steps.changed-files-yaml.outputs.any_changed }} steps: - uses: actions/checkout@v4 - name: Detect changed files id: changed-files-yaml - uses: tj-actions/changed-files@v39 + uses: tj-actions/changed-files@v45 with: files_yaml: | ci: @@ -25,8 +25,10 @@ jobs: - packages/formik/package.json - packages/formik-native/src/** - packages/formik-native/package.json + benchmark: - if: needs.detectChangedSourceFiles.outputs.changes == 'true' + if: always() && needs.detectChangedSourceFiles.outputs.changes == 'true' + needs: detectChangedSourceFiles runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -36,15 +38,6 @@ jobs: cache: yarn node-version-file: .nvmrc - - name: Detect changed files - id: changed-files-yaml - uses: tj-actions/changed-files@v39 - with: - files_yaml: | - src: - - packages/formik/src/** - - packages/formik-native/src/** - - name: Install & build run: | node --version @@ -78,8 +71,10 @@ jobs: fail-threshold: 120% # needed for commenting on PRs github-token: ${{ secrets.GITHUB_TOKEN }} + interaction: - if: needs.detectChangedSourceFiles.outputs.changes == 'true' + needs: detectChangedSourceFiles + if: always() && needs.detectChangedSourceFiles.outputs.changes == 'true' timeout-minutes: 10 runs-on: ubuntu-latest steps: @@ -118,8 +113,10 @@ jobs: name: playwright-report path: playwright-report/ retention-days: 5 + size: - if: needs.detectChangedSourceFiles.outputs.changes == 'true' + needs: detectChangedSourceFiles + if: always() && needs.detectChangedSourceFiles.outputs.changes == 'true' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -129,8 +126,10 @@ jobs: with: repo-token: '${{ secrets.GITHUB_TOKEN }}' build-script: 'turbo run build --filter {./packages/*}...' + unit: - if: needs.detectChangedSourceFiles.outputs.changes == 'true' + needs: detectChangedSourceFiles + if: always() && needs.detectChangedSourceFiles.outputs.changes == 'true' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4