Barazo default frontend
barazo.forum
1name: 'Copilot Setup Steps'
2
3on:
4 workflow_dispatch:
5 push:
6 paths:
7 - .github/workflows/copilot-setup-steps.yml
8 pull_request:
9 paths:
10 - .github/workflows/copilot-setup-steps.yml
11
12jobs:
13 copilot-setup-steps:
14 runs-on: ubuntu-latest
15 permissions:
16 contents: read
17 steps:
18 - name: Checkout
19 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20
21 - name: Install pnpm
22 uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
23 with:
24 version: 10
25
26 - name: Setup Node.js
27 uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
28 with:
29 node-version: '24'
30 cache: 'pnpm'
31
32 - name: Clone and build barazo-lexicons
33 run: |
34 git clone --depth 1 https://github.com/singi-labs/barazo-lexicons.git ../barazo-lexicons
35 cd ../barazo-lexicons && pnpm install --ignore-scripts && pnpm run build
36
37 - name: Install dependencies
38 run: pnpm install --frozen-lockfile
39
40 - name: Typecheck
41 run: pnpm typecheck
42
43 - name: Run tests
44 run: pnpm test
45 env:
46 NEXT_PUBLIC_API_URL: http://localhost:3100