Repository navigation
84 lines (66 loc) · 2.05 KB
/
Copy pathci.yml
File metadata and controls
84 lines (66 loc) · 2.05 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22.19.0
- name: Verify web workspace
run: |
npm ci --prefix web
npm run typecheck --prefix web
npm test --prefix web
npm run build --prefix web
git diff --exit-code -- web/dist
test -z "$(git ls-files --others --exclude-standard web/dist)"
- name: Run deterministic test suite
run: make test
- name: Test npm distribution tooling
run: npm test --prefix npm/cli
windows-memory:
runs-on: windows-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22.19.0
- name: Build Windows Memory product
run: go build -o mnemon.exe .
- name: Test Windows command and Memory storage boundaries
run: go test ./cmd ./cmd/agency ./cmd/memory ./internal/memory/store -count=1
- name: Test Windows PowerShell hook assets
run: go test ./internal/memory/setup/assets -run '^TestZCodePrimeHookPowerShell' -count=1
- name: Test Windows npm tooling
run: npm test --prefix npm/cli