mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
chore(ci): optimize release ci
This commit is contained in:
parent
bbb3bc9a40
commit
92cf679bda
4
.github/workflows/changelog-and-release.yml
vendored
4
.github/workflows/changelog-and-release.yml
vendored
@ -89,7 +89,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install
|
||||||
- name: Run script
|
- name: Run script
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -101,6 +101,6 @@ jobs:
|
|||||||
if: ${{ steps.get-info.outputs.version == 'rc' }}
|
if: ${{ steps.get-info.outputs.version == 'rc' }}
|
||||||
run: |
|
run: |
|
||||||
git pull origin main
|
git pull origin main
|
||||||
git add .
|
git add CHANGELOG.md CHANGELOG.zh-CN.md
|
||||||
git commit -m "docs: update changelogs"
|
git commit -m "docs: update changelogs"
|
||||||
git push origin main
|
git push origin main
|
||||||
|
11
.github/workflows/manual-release-develop.yml
vendored
11
.github/workflows/manual-release-develop.yml
vendored
@ -55,12 +55,15 @@ jobs:
|
|||||||
do
|
do
|
||||||
git clone -b develop https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
git clone -b develop https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
||||||
done
|
done
|
||||||
- name: Set Node.js 18
|
- name: Set Node.js 20
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
- name: Install Lerna
|
- name: yarn install and build
|
||||||
run: npm install -g lerna@4 auto-changelog@2
|
run: |
|
||||||
|
yarn config set registry https://registry.npmjs.org/
|
||||||
|
yarn install
|
||||||
|
yarn build
|
||||||
- name: Run release.sh
|
- name: Run release.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
11
.github/workflows/manual-release-next.yml
vendored
11
.github/workflows/manual-release-next.yml
vendored
@ -97,12 +97,15 @@ jobs:
|
|||||||
do
|
do
|
||||||
git clone -b next https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
git clone -b next https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
||||||
done
|
done
|
||||||
- name: Set Node.js 18
|
- name: Set Node.js 20
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
- name: Install Lerna
|
- name: yarn install and build
|
||||||
run: npm install -g lerna@4 auto-changelog@2
|
run: |
|
||||||
|
yarn config set registry https://registry.npmjs.org/
|
||||||
|
yarn install
|
||||||
|
yarn build
|
||||||
- name: Run release.sh
|
- name: Run release.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
11
.github/workflows/manual-release.yml
vendored
11
.github/workflows/manual-release.yml
vendored
@ -94,12 +94,15 @@ jobs:
|
|||||||
do
|
do
|
||||||
git clone -b main https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
git clone -b main https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo
|
||||||
done
|
done
|
||||||
- name: Set Node.js 18
|
- name: Set Node.js 20
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
- name: Install Lerna
|
- name: yarn install and build
|
||||||
run: npm install -g lerna@4 auto-changelog@2
|
run: |
|
||||||
|
yarn config set registry https://registry.npmjs.org/
|
||||||
|
yarn install
|
||||||
|
yarn build
|
||||||
- name: Run release.sh
|
- name: Run release.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user