Skip to content

Commit aaafb5e

Browse files
committed
chore: upgrade SDK and add basic CI
1 parent a4d61fe commit aaafb5e

4 files changed

Lines changed: 583 additions & 541 deletions

File tree

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
check:
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 20
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v7
22+
23+
- name: Setup pnpm
24+
uses: pnpm/action-setup@v6
25+
26+
- name: Setup Node.js
27+
uses: actions/setup-node@v6
28+
with:
29+
node-version: 24
30+
cache: pnpm
31+
32+
- name: Install dependencies
33+
run: pnpm install --frozen-lockfile
34+
35+
- name: Typecheck
36+
run: pnpm typecheck
37+
38+
- name: Build
39+
run: pnpm build
40+
41+
- name: Test
42+
run: pnpm test

examples/quick-start-cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"typecheck": "tsc -p tsconfig.json --noEmit"
1515
},
1616
"dependencies": {
17-
"@univer-cli/api-reference": "1.0.0-insiders.20260819-8595af2",
18-
"@univer-cli/api-reference-command": "1.0.0-insiders.20260819-8595af2",
17+
"@univer-cli/api-reference": "1.0.0-insiders.20260821-c2f0ba5",
18+
"@univer-cli/api-reference-command": "1.0.0-insiders.20260821-c2f0ba5",
1919
"commander": "^15.0.0"
2020
},
2121
"devDependencies": {

examples/univer-mini-cli/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
"typecheck": "tsc -p tsconfig.json --noEmit"
1515
},
1616
"dependencies": {
17-
"@univer-cli/api-reference": "1.0.0-insiders.20260819-8595af2",
18-
"@univer-cli/content-execution": "1.0.0-insiders.20260819-8595af2",
19-
"@univer-cli/content-inspection": "1.0.0-insiders.20260819-8595af2",
20-
"@univer-cli/content-inspection-command": "1.0.0-insiders.20260819-8595af2",
21-
"@univer-cli/headless-univer": "1.0.0-insiders.20260819-8595af2",
22-
"@univerjs-pro/exchange-node": "1.0.0-insiders.20260819-8595af2",
17+
"@univer-cli/api-reference": "1.0.0-insiders.20260821-c2f0ba5",
18+
"@univer-cli/content-execution": "1.0.0-insiders.20260821-c2f0ba5",
19+
"@univer-cli/content-inspection": "1.0.0-insiders.20260821-c2f0ba5",
20+
"@univer-cli/content-inspection-command": "1.0.0-insiders.20260821-c2f0ba5",
21+
"@univer-cli/headless-univer": "1.0.0-insiders.20260821-c2f0ba5",
22+
"@univerjs-pro/exchange-node": "1.0.0-insiders.20260821-c2f0ba5",
2323
"@univerjs-pro/exchange-node-binding": "0.1.0",
24-
"@univerjs-pro/slides": "1.0.0-insiders.20260819-8595af2",
25-
"@univerjs/core": "1.0.0-insiders.20260819-8595af2",
24+
"@univerjs-pro/slides": "1.0.0-insiders.20260821-c2f0ba5",
25+
"@univerjs/core": "1.0.0-insiders.20260821-c2f0ba5",
2626
"commander": "^15.0.0"
2727
},
2828
"devDependencies": {

0 commit comments

Comments
 (0)