Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 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/build-rust-binding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
version: 10
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
if: ${{ !matrix.settings.docker }}
with:
node-version: ${{ matrix.node-version }}
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- build-rust-wasm
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20, 22]
host: [macos-13, windows-latest, ubuntu-latest]
include:
- host: macos-13
Expand All @@ -51,13 +51,9 @@ jobs:
- host: ubuntu-latest
target: x86_64-unknown-linux-musl
exclude:
- node-version: 18.x
- node-version: 20
host: macos-13
- node-version: 18.x
host: windows-latest
- node-version: 20.x
host: macos-13
- node-version: 20.x
- node-version: 20
host: windows-latest

runs-on: ${{ matrix.host }}
Expand All @@ -70,7 +66,7 @@ jobs:
with:
version: 10
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/checkout@v4

# Log meta
- name : GITHUB CONTEXT
- name: GITHUB CONTEXT
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
Expand All @@ -47,7 +47,7 @@ jobs:
COMMIT_MESSAGE=$(git log --format=%s -n 1)
echo "COMMIT_MESSAGE=${COMMIT_MESSAGE}" >> $GITHUB_ENV
- name: Show commit message
run : echo "$COMMIT_MESSAGE"
run: echo "$COMMIT_MESSAGE"

- name: Determine if should abort publish
run: |
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
with:
version: 10
- name: Setup Node 18
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 18
cache: 'pnpm'
Expand All @@ -117,7 +117,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Log meta
- name : GITHUB CONTEXT
- name: GITHUB CONTEXT
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
Expand Down Expand Up @@ -367,7 +367,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_repo: ${{ github.repository }}
git_commit_sha: ${{ steps.commitHar.outputs.sha || github.sha }}
git_tag_prefix: "v"
git_tag_prefix: 'v'

# ------------------ publish -------------

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sync-components-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
repository: NervJS/taro-docs
fetch-depth: 1
path: .taro-docs
- run : |
- run: |
cp -r .taro-docs/packages/taro/types/* packages/taro/types
cp -r .taro-docs/packages/taro-components/types/* packages/taro-components/types
rm -rf .taro-docs
Expand All @@ -43,7 +43,7 @@ jobs:
- args: [--filter @tarojs/components, -D, miniapp-types@latest]
# Note: 当前同步脚本使用 ts-node 与 node20 存在兼容问题,修复后解除版本限制
- name: Setup Node 18
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 18
cache: 'pnpm'
Expand All @@ -61,11 +61,11 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: main
body: "sync components types"
branch: "refactor/sync-types"
commit-message: "refactor(types): sync components types"
body: 'sync components types'
branch: 'refactor/sync-types'
commit-message: 'refactor(types): sync components types'
delete-branch: true
title: "refactor(types): sync components types"
title: 'refactor(types): sync components types'
labels: |
A-typings
A-components
Loading