Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cd apiserver && golangci-lint run # Lint
cd apiserver && go test ./... # Test

# Frontend
cd frontend && yarn install --frozen-lockfile # Install deps
cd frontend && yarn install --immutable # Install deps
cd frontend && yarn lint # Lint
cd frontend && yarn tsc # Type check
cd frontend && yarn build # Build (Vite)
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ secrets.WORKFLOW_TOKEN }}
- name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 24.x
- name: Enable Corepack
run: corepack enable
Comment thread
dkhalife marked this conversation as resolved.
- name: Bump frontend version
run: |
cd frontend
yarn version --patch --no-git-tag-version
yarn version patch
- name: Get the latest tag
id: get_latest_tag
env:
Expand Down
17 changes: 14 additions & 3 deletions .github/workflows/frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,21 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 24.x
cache: 'yarn'
cache-dependency-path: frontend/yarn.lock
- name: Enable Corepack
run: corepack enable
- name: Get Yarn cache folder
id: yarn-cache
run: echo "dir=$(yarn config get cacheFolder)" >> "$GITHUB_OUTPUT"
working-directory: frontend
- name: Cache Yarn dependencies
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('frontend/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
working-directory: frontend
- name: Lint
run: yarn lint
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/full-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 24.x
- name: Enable Corepack
run: corepack enable
- name: Install Dependencies
run: |
cd frontend
yarn install
yarn install --immutable
- name: Build Frontend
run: |
export VITE_BACKEND_VERSION=$(git tag --sort=-creatordate | sed -n '1p' | sed 's/^v//')
Expand Down
12 changes: 9 additions & 3 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@
dist
node_modules

.yarn/
.yarnrc.yml

# Test coverage
coverage

# Playwright
test-results/
playwright-report/
playwright/.cache/

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.pnp.*
9 changes: 9 additions & 0 deletions frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
enableGlobalCache: true

enableScripts: true

nmMode: hardlinks-global

nodeLinker: node-modules

npmMinimalAgeGate: 4320
Loading
Loading