Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 1 addition & 2 deletions .github/workflows/pkg-pr-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .node-version

- run: npm install

Expand All @@ -26,4 +26,3 @@ jobs:
- run: node ./script/workflows/pkg-pr-new-generate-template.mjs

- run: npx pkg-pr-new publish --compact --template 'tdesign-vue2-demo/**'

6 changes: 3 additions & 3 deletions .github/workflows/pr-comment-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .node-version

- run: npm install

Expand All @@ -244,7 +244,7 @@ jobs:
git commit -m "chore: update snapshot"
fi
git status

- name: git push
run: |
git status
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .node-version

- run: npm install

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/preview-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ name: PREVIEW_PUBLISH

on:
workflow_run:
workflows: ["MAIN_PULL_REQUEST"]
workflows: ['MAIN_PULL_REQUEST']
types:
- completed

jobs:
call-preview:
uses: Tencent/tdesign/.github/workflows/preview.yml@main
uses: TDesignOteam/workflows/.github/workflows/reusable-pr-preview.yml@main
secrets:
TDESIGN_SURGE_TOKEN: ${{ secrets.TDESIGN_SURGE_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ on:

jobs:
call-test-build:
uses: Tencent/tdesign/.github/workflows/test-build.yml@main
uses: TDesignOteam/workflows/.github/workflows/reusable-unit-test.yml@main
with:
node-version-file: .node-version
5 changes: 4 additions & 1 deletion .github/workflows/tag-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ on: create

jobs:
call-publish:
uses: Tencent/tdesign/.github/workflows/publish.yml@main
if: github.event.ref_type == 'tag'
uses: TDesignOteam/workflows/.github/workflows/reusable-publish-npm.yml@main
secrets:
TDESIGN_SURGE_TOKEN: ${{ secrets.TDESIGN_SURGE_TOKEN }}
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
with:
node-version-file: .node-version
permissions:
contents: read
id-token: write
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
Loading