mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:37:01 +00:00
chore(CI): sync changes from next branch (#4832)
This commit is contained in:
parent
ecfa790d42
commit
2de6e2d0cc
41
.github/workflows/e2e.yml
vendored
41
.github/workflows/e2e.yml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
- 'develop'
|
||||||
- 'next'
|
- 'next'
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/e2e.yml'
|
- '.github/workflows/e2e.yml'
|
||||||
@ -36,7 +37,14 @@ jobs:
|
|||||||
ref: main
|
ref: main
|
||||||
path: packages/pro-plugins
|
path: packages/pro-plugins
|
||||||
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
||||||
|
- name: Fetch all branches
|
||||||
|
run: cd packages/pro-plugins && git fetch --all
|
||||||
|
- name: git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
run: cd packages/pro-plugins && git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
continue-on-error: true
|
||||||
|
- name: git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
|
run: cd packages/pro-plugins && git checkout${{ github.head_ref || github.ref_name }}
|
||||||
|
continue-on-error: true
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@ -88,8 +96,11 @@ jobs:
|
|||||||
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
||||||
- name: Fetch all branches
|
- name: Fetch all branches
|
||||||
run: cd packages/pro-plugins && git fetch --all
|
run: cd packages/pro-plugins && git fetch --all
|
||||||
- name: git checkout ${{ github.head_ref }}
|
- name: git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
run: cd packages/pro-plugins && git checkout ${{ github.head_ref }}
|
run: cd packages/pro-plugins && git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
continue-on-error: true
|
||||||
|
- name: git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
|
run: cd packages/pro-plugins && git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
- name: Set variables
|
- name: Set variables
|
||||||
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
||||||
@ -171,6 +182,14 @@ jobs:
|
|||||||
ref: main
|
ref: main
|
||||||
path: packages/pro-plugins
|
path: packages/pro-plugins
|
||||||
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
||||||
|
- name: Fetch all branches
|
||||||
|
run: cd packages/pro-plugins && git fetch --all
|
||||||
|
- name: git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
run: cd packages/pro-plugins && git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
continue-on-error: true
|
||||||
|
- name: git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
|
run: cd packages/pro-plugins && git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
|
continue-on-error: true
|
||||||
- name: Set variables
|
- name: Set variables
|
||||||
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
@ -251,6 +270,14 @@ jobs:
|
|||||||
ref: main
|
ref: main
|
||||||
path: packages/pro-plugins
|
path: packages/pro-plugins
|
||||||
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
||||||
|
- name: Fetch all branches
|
||||||
|
run: cd packages/pro-plugins && git fetch --all
|
||||||
|
- name: git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
run: cd packages/pro-plugins && git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
continue-on-error: true
|
||||||
|
- name: git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
|
run: cd packages/pro-plugins && git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
|
continue-on-error: true
|
||||||
- name: Set variables
|
- name: Set variables
|
||||||
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
@ -331,6 +358,14 @@ jobs:
|
|||||||
ref: main
|
ref: main
|
||||||
path: packages/pro-plugins
|
path: packages/pro-plugins
|
||||||
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
||||||
|
- name: Fetch all branches
|
||||||
|
run: cd packages/pro-plugins && git fetch --all
|
||||||
|
- name: git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
run: cd packages/pro-plugins && git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
|
continue-on-error: true
|
||||||
|
- name: git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
|
run: cd packages/pro-plugins && git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
|
continue-on-error: true
|
||||||
- name: Set variables
|
- name: Set variables
|
||||||
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
continue-on-error: true # 外部开发者提交 PR 的时候因为没有权限这里会报错,为了能够继续执行后续步骤,所以这里设置为 continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user