fix(ci): restore docs and package checks

This commit is contained in:
t8y2 2026-05-18 01:04:11 +08:00
parent 1917c0855b
commit 70f55c5540
5 changed files with 3 additions and 9 deletions

View File

@ -19,8 +19,6 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.27.0
- name: Install system dependencies (Linux)
run: |

View File

@ -23,8 +23,6 @@ jobs:
with:
node-version: 22
- uses: pnpm/action-setup@v4
with:
version: 10
- run: cd docs && pnpm install --frozen-lockfile && pnpm build
- uses: actions/upload-pages-artifact@v3
with:

View File

@ -23,8 +23,6 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.27.0
- name: Setup Node.js
uses: actions/setup-node@v4

View File

@ -36,8 +36,6 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install frontend dependencies
run: pnpm install

View File

@ -2,7 +2,9 @@ import { readFileSync } from "node:fs";
import { strict as assert } from "node:assert";
import test from "node:test";
import appPackage from "../package.json" with { type: "json" };
import { createInstallOptions } from "../docs/lib/downloadLinks.ts";
import downloadLinks from "../docs/lib/downloadLinks.ts";
const { createInstallOptions } = downloadLinks;
test("docs install links are generated from the app package version", () => {
const options = createInstallOptions("en", appPackage.version);