-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (47 loc) · 1.51 KB
/
Copy pathtypescript.yml
File metadata and controls
51 lines (47 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: TypeScript
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
env:
# See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
biome:
name: Biome check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# --frozen-lockfile: fail if pnpm-lock.yaml is out of date
# --ignore-workspace: only install root deps, not all 94 subprojects
- run: pnpm install --frozen-lockfile --ignore-workspace
- run: pnpm run check
# The only TypeScript application in the repository. Biome above formats and
# lints it, but nothing was compiling it, so a client that no longer matched
# the program's IDL would have gone unnoticed. `verify` runs the client's
# instruction encoding, account decoding and PDA derivation against the
# committed IDL, offline, with no validator.
managed-fund-app:
name: Managed fund app
runs-on: ubuntu-latest
defaults:
run:
working-directory: finance/managed-fund/anchor/app
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: pnpm install --frozen-lockfile
- run: pnpm run typecheck
- run: pnpm run verify