Files
tailscale/.github/workflows/webclient.yml
Brad Fitzpatrick 855c1f469b .github/workflows: [DEV ONLY] disable all other CI jobs
Disable every job except the gotst swarms while developing them, so
test pushes don't queue up unrelated work. Drop this commit before
merging.

Updates tailscale/corp#46045

Change-Id: Id7ef64f8e7321b6b6350f92e29ab48d80a2fe418
Signed-off-by: Brad Fitzpatrick <[email protected]>
2026-10-02 04:57:40 +00:00

40 lines
1.2 KiB
YAML

name: webclient
on:
workflow_dispatch:
# For now, only run on requests, not the main branches.
pull_request:
paths:
- "client/web/**"
- ".github/workflows/webclient.yml"
- "!**.md"
# TODO(soniaappasamy): enable for main branch after an initial waiting period.
#push:
# branches:
# - main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
webclient:
if: false # DEV ONLY: disabled while developing the gotst swarms
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install deps
run: ./tool/yarn --cwd client/web
- name: Run lint
run: ./tool/yarn --cwd client/web run --silent lint
- name: Run test
run: ./tool/yarn --cwd client/web run --silent test
- name: Run formatter check
run: |
./tool/yarn --cwd client/web run --silent format-check || ( \
echo "Run this command on your local device to fix the error:" && \
echo "" && \
echo " ./tool/yarn --cwd client/web format" && \
echo "" && exit 1)