chore(deps-dev): bump the vitest group across 1 directory with 2 updates #1015
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: deploy | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
environment: | |
description: 'Environment to run actiomn against' | |
type: environment | |
required: false | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
jobs: | |
cloudflare-pages-deploy: | |
permissions: | |
actions: read | |
contents: read | |
deployments: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2 | |
- id: 'cloudflare-pages' | |
uses: ./ | |
with: | |
cloudflare-api-token: ${{secrets.CLOUDFLARE_API_TOKEN}} | |
cloudflare-account-id: ${{ vars.CLOUDFLARE_ACCOUNT_ID }} | |
cloudflare-project-name: ${{ vars.CLOUDFLARE_PROJECT_NAME }} | |
directory: dist | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
github-environment: ${{ inputs.environment || 'preview' }} | |
working-directory: example | |
- id: 'cloudflare-pages-delete' | |
uses: ./delete | |
# if main branch | |
if: github.ref == 'refs/heads/main' | |
with: | |
cloudflare-api-token: ${{secrets.CLOUDFLARE_API_TOKEN}} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
# Only required for legacy action deployments. | |
github-environment: ${{ inputs.environment || 'preview' }} | |
keep-latest: 2 |