Skip to content

Bump vite from 7.3.1 to 7.3.2 in /web-frontend-v2 #241

Bump vite from 7.3.1 to 7.3.2 in /web-frontend-v2

Bump vite from 7.3.1 to 7.3.2 in /web-frontend-v2 #241

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
FORCE_COLOR: 1
steps:
- uses: earthly/actions/setup-earthly@v1
with:
version: v0.7.0
- uses: actions/checkout@v3
- name: Put back the git branch into git (Earthly uses it for tagging)
run: |
branch=""
if [ -n "$GITHUB_HEAD_REF" ]; then
branch="$GITHUB_HEAD_REF"
else
branch="${GITHUB_REF##*/}"
fi
git checkout -b "$branch" || true
- name: Docker Login
run: docker login --username "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_TOKEN"
- name: Runs golang tests, lints and web tests
run: earthly --ci +run-ci
frontend-v2:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web-frontend-v2
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: web-frontend-v2/package-lock.json
- name: Install frontend v2 dependencies
run: npm ci
- name: Typecheck frontend v2
run: npm run check
- name: Build frontend v2 with GitHub Pages settings
run: npm run build:pages