Skip to content

Commit aa75092

Browse files
committed
add workflow
1 parent c93db28 commit aa75092

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,30 @@ jobs:
9191
run: |
9292
./gradlew build
9393
./gradlew clean
94-
94+
typecheck-client:
95+
name: "Typecheck Client"
96+
runs-on: ubuntu-24.04
97+
steps:
98+
# Checkout code.
99+
- name: Checkout code
100+
uses: actions/checkout@v6
101+
with:
102+
fetch-depth: 0
103+
- name: Fetch tags
104+
run: git fetch --tags --force
105+
- name: Install pnpm
106+
uses: pnpm/action-setup@v4
107+
with:
108+
version: 10
109+
- name: Setup Node.js
110+
uses: actions/setup-node@v6
111+
with:
112+
node-version: 22
113+
cache: pnpm
114+
cache-dependency-path: photon-client/pnpm-lock.yaml
115+
- name: Typecheck Client
116+
working-directory: photon-client
117+
run: pnpm type-check
95118
playwright-tests:
96119
name: "Playwright E2E tests"
97120
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)