Skip to content

Fix dropdown, breadcrumb, and theme UX issues across the portal (#559) #44

Fix dropdown, breadcrumb, and theme UX issues across the portal (#559)

Fix dropdown, breadcrumb, and theme UX issues across the portal (#559) #44

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Web Verify
on:
pull_request:
paths:
- 'web/**'
- '.github/workflows/web-verify.yml'
push:
branches: [master]
paths:
- 'web/**'
- '.github/workflows/web-verify.yml'
workflow_dispatch:
jobs:
verify:
name: Typecheck, lint, test, build
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: web
# Dummy values that satisfy the env schema; nothing here talks to a
# real identity provider or backend.
env:
NEXTAUTH_SECRET: ci-only-dummy-secret
OIDC_ISSUER_URL: https://idp.invalid
OIDC_CLIENT_ID: ci
OIDC_CLIENT_SECRET: ci
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
# packageManager lives in web/package.json, not the repo root.
package_json_file: web/package.json
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
cache-dependency-path: web/pnpm-lock.yaml
- name: Install
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm typecheck
- name: Lint
run: pnpm lint
- name: Unit tests
run: pnpm test
- name: Production build
run: pnpm build