We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c13812 commit 4832b84Copy full SHA for 4832b84
.github/workflows/test.yml
@@ -0,0 +1,37 @@
1
+name: Test
2
+
3
+on:
4
+ pull_request:
5
6
+concurrency:
7
+ group: test-${{ github.head_ref || github.ref }}
8
+ cancel-in-progress: true
9
10
+jobs:
11
+ test:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: read
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v5
18
+ with:
19
+ persist-credentials: false
20
21
+ - name: Setup pnpm
22
+ uses: pnpm/action-setup@v4
23
24
+ - name: Setup Node.js
25
+ uses: actions/setup-node@v4
26
27
+ node-version: 22
28
+ cache: "pnpm"
29
30
+ - name: Install dependencies
31
+ run: pnpm install --frozen-lockfile
32
33
+ - name: Build dependencies
34
+ run: pnpm --filter @posthog/electron-trpc build
35
36
+ - name: Run tests
37
+ run: pnpm test
0 commit comments