ci(other): update cicd
This commit is contained in:
@@ -16,12 +16,16 @@ jobs:
|
|||||||
APP_NAME: jdt-mer-dev
|
APP_NAME: jdt-mer-dev
|
||||||
APP_PORT: 8083
|
APP_PORT: 8083
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Git
|
||||||
|
run: |
|
||||||
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
|
apk add --no-cache git
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
|
||||||
apk add --no-cache curl
|
apk add --no-cache curl
|
||||||
npm config set registry https://registry.npmmirror.com/
|
npm config set registry https://registry.npmmirror.com/
|
||||||
corepack enable && corepack prepare pnpm@8 --activate
|
corepack enable && corepack prepare pnpm@8 --activate
|
||||||
@@ -90,12 +94,16 @@ jobs:
|
|||||||
APP_NAME: jdt-mer-prod
|
APP_NAME: jdt-mer-prod
|
||||||
APP_PORT: 8083
|
APP_PORT: 8083
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Git
|
||||||
|
run: |
|
||||||
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
|
apk add --no-cache git
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
|
||||||
apk add --no-cache curl
|
apk add --no-cache curl
|
||||||
npm config set registry https://registry.npmmirror.com/
|
npm config set registry https://registry.npmmirror.com/
|
||||||
corepack enable && corepack prepare pnpm@8 --activate
|
corepack enable && corepack prepare pnpm@8 --activate
|
||||||
|
|||||||
Reference in New Issue
Block a user