Skip to content

Bump vite from 5.4.11 to 6.0.5 in /src/frontend #905

Bump vite from 5.4.11 to 6.0.5 in /src/frontend

Bump vite from 5.4.11 to 6.0.5 in /src/frontend #905

Workflow file for this run

name: "Frontend CI"
on:
workflow_dispatch:
push:
branches:
- dev
tags:
- "v*"
paths:
- "src/frontend/**"
pull_request:
branches:
- main
- test
- dev
paths:
- "src/frontend/**"
- ".github/workflows/frontend-ci.yml"
types: [opened, reopened, labeled, synchronize, ready_for_review]
# Sets permissions of the GITHUB_TOKEN to allow creating checks and updating PR
permissions:
contents: read
checks: write
pull-requests: write
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
env:
NODE_VERSION: "20"
WORKFLOW_SHORT_NAME: "frontend"
FRONTEND_PATH: "src/frontend"
TRAILING_AGENT_WORK_PATH: "/home/runner/work/test/test/"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
defaults:
run:
working-directory: ${{ env.FRONTEND_PATH }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/frontend-build
with:
working_directory: ${{ env.FRONTEND_PATH }}
package_manager: "npm"
run_tests: "true"