ci: install dependencies before authorization check

This commit is contained in:
YBF
2026-09-11 15:12:20 +08:00
parent 97af296cc6
commit 0664b9e819
+3 -3
View File
@@ -83,6 +83,9 @@ jobs:
printf 'PACKAGE_VERSION=%s\n' "$version" >> "$GITHUB_ENV"
printf 'TMC_PACKAGE_VERSION=%s\n' "$version" >> "$GITHUB_ENV"
- name: Install dependencies
run: pnpm install --frozen-lockfile --registry=https://registry.npmjs.org
- name: Verify CI authorization environment
shell: bash
run: |
@@ -106,9 +109,6 @@ jobs:
console.log("Mind authorization environment is active in CI");
NODE
- name: Install dependencies
run: pnpm install --frozen-lockfile --registry=https://registry.npmjs.org
- name: Check formatting
run: pnpm format:check