File tree Expand file tree Collapse file tree 2 files changed +49
-27
lines changed
Expand file tree Collapse file tree 2 files changed +49
-27
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+ on :
3+ workflow_dispatch :
4+ push :
5+
6+ permissions :
7+ id-token : write # This is required for requesting the JWT
8+ contents : read # This is required for actions/checkout
9+ jobs :
10+ test :
11+ runs-on : ubuntu-24.04
12+ steps :
13+ - name : Checkout Repository
14+ uses : actions/checkout@v4
15+
16+ - name : Setup mise
17+ uses : jdx/mise-action@v3
18+ with :
19+ version : 2025.10.21
20+ install : true
21+ cache : true
22+ # TODO: remove me after debugging
23+ log_level : debug
24+
25+ - name : Get pnpm store directory
26+ id : pnpm-cache
27+ shell : bash
28+ run : |
29+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
30+
31+ - name : Setup pnpm cache
32+ uses : actions/cache@v4
33+ with :
34+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
35+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
36+ restore-keys : |
37+ ${{ runner.os }}-pnpm-store-
38+
39+ - name : Install dependencies
40+ run : pnpm install --frozen-lockfile --prefer-offline
41+
42+ - name : Code Lint
43+ run : mise task lint
44+
45+ - name : Type Check
46+ run : mise task typecheck
47+
48+ - name : Unit Tests
49+ run : mise task test
Load Diff This file was deleted.
You canβt perform that action at this time.
0 commit comments