chore(deps): update vitest monorepo to v2 (major) #583
Workflow file for this run
This file contains 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: CD for PR | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
prepare: | |
if: github.event.pull_request.draft == false | |
timeout-minutes: 60 | |
runs-on: | |
- ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup asdf | |
uses: asdf-vm/actions/[email protected] | |
continue-on-error: true | |
- name: Cache asdf | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.asdf | |
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }} | |
- name: asdf install | |
uses: asdf-vm/actions/[email protected] | |
ci: | |
uses: ./.github/workflows/ci.yml | |
secrets: inherit | |
needs: prepare | |
image-build-for-ci: | |
uses: ./.github/workflows/image-build.yml | |
secrets: inherit | |
image-scan: | |
uses: ./.github/workflows/image-scan.yml | |
secrets: inherit | |
needs: image-build-for-ci | |
with: | |
docker_image_tag_ci: ${{ needs.image-build-for-ci.outputs.docker_image_tag_ci }} |