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