Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v5
- name: GITHUB CONTEXT
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-rust-binding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v5
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

确认 v5 继续获得维护和安全更新

v5 版本继续获得安全更新和主要破坏性变更的修复。v5.0.0 在 2024 年 8 月发布,v5.0.1 在 2024 年 11 月发布,表明该版本仍在主动维护中。

但需要注意:v6 存在与非 GitHub 平台自托管运行器的兼容性问题,因为 v6 使用硬编码的 GitHub Actions 路径,导致 Git 认证失败并造成工作流挂起和超时。对于自托管运行器,建议使用 v5,因为它采用通用 HTTP 授权标头方式,适用于所有平台。

如果项目使用 GitHub 托管的运行器,两个版本都可以工作。如果使用自托管或第三方运行器(Forgejo、Gitea 等),v5 实际上是更好的选择。建议确认此次降级的具体原因。

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-rust-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v5
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-update-lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
template: [bug_report.yml]

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v5

- name: 解析模板
uses: stefanbuck/github-issue-parser@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
runs-on: ${{ matrix.host }}
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v5
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
Expand All @@ -74,7 +74,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm -r install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Download artifact bindings-${{ matrix.target }}
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: test
run: pnpm run pretest:ci && pnpm test
run: pnpm test
# 以下 coverage 流程通过 artifact 拆分文件作为单独 job 上传时间损耗过长,因此在在 node test 后直接继续执行
- name: Upload [taro-cli] coverage to Codecov
uses: codecov/codecov-action@v5
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v5
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
# Setup
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v5

# Log meta
- name: GITHUB CONTEXT
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
steps:
# Setup
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v5
with:
ref: ${{ github.ref_name }}
- name: Setup pnpm
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
run: pnpm build

- name: Checkout Harmony Project
uses: actions/checkout@v6
uses: actions/checkout@v5
with:
repository: NervJS/taro-harmony-project
path: packages/taro-platform-harmony-cpp/harmony_project
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-components-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@v5

- name: Checkout taro-docs
uses: actions/checkout@v6
uses: actions/checkout@v5
with:
repository: NervJS/taro-docs
fetch-depth: 1
Expand Down
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
"lint:style": "stylelint ./packages/**/*.{css,scss}",
"format": "prettier --write --cache .",
"format:check": "prettier --check --cache .",
"pretest:ci": "node ./scripts/download.mjs",
"test": "pnpm --if-present -r --filter=./packages/* --filter=./tests test:ci",
"test": "pnpm --if-present -r --aggregate-output --filter=./packages/* --filter=./tests test:ci",
"test:binding": "pnpm --filter @tarojs/binding run test",
"updateSnapshot": "pnpm --if-present -r --aggregate-output --filter=./tests --filter=./packages/* updateSnapshot",
"version": "run-s version:*",
Expand Down Expand Up @@ -110,7 +109,7 @@
"@types/webpack-dev-server": "^3.11.3",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vitest/coverage-istanbul": "^4.0.14",
"@vitest/coverage-istanbul": "^3.2.4",
"babel-jest": "^29.7.0",
"babel-plugin-syntax-jsx": "6.18.0",
"babel-preset-power-assert": "3.0.0",
Expand Down Expand Up @@ -152,7 +151,6 @@
"power-assert": "^1.6.1",
"prettier": "^2.7.1",
"prop-types": "^15.7.2",
"puppeteer": "^20.9.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^5.0.0",
Expand All @@ -166,8 +164,7 @@
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "~5.4.5",
"vite": "^7.2.6",
"vitest": "^4.0.14"
"vitest": "^3.2.4"
},
"pnpm": {
"packageExtensions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"clean": "rimraf ./dist",
"test": "vitest run",
"test:ci": "vitest run --coverage",
"updateSnapshot": "vitest run --update",
"dev": "tsc -w",
"build": "tsc"
},
Expand Down
Loading
Loading