-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (37 loc) · 899 Bytes
/
ci.yml
File metadata and controls
42 lines (37 loc) · 899 Bytes
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
name: CI
on:
push:
branches: ["main"]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
env:
BOT_TOKEN: "ci-bot-token"
ALLOWED_USER_IDS: "1"
CODEX_BACKEND: "sdk"
CODEX_COMMAND: "node"
CODEX_WORKDIR: "."
WORKSPACE_ROOT: "."
GITHUB_DEFAULT_WORKDIR: "."
STATE_FILE: ".codex-telegram-claws-state.json"
MCP_SERVERS: "[]"
SHELL_ENABLED: "false"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run check
- run: npm run lint
- run: npm run format:check
- run: npm test
- run: npm run healthcheck