💚 Fixing CI Build. repo mirror

This commit is contained in:
lbw 2024-03-02 11:22:22 +08:00
parent 3ea89f8f17
commit a2c616760c
3 changed files with 21 additions and 1 deletions

View File

@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
node-version: [16.x, 18.x]
node-version: [16.x]
npm-client: [npm, yarn, pnpm]
steps:

18
.github/workflows/mirror.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: 同步代码
on:
push:
branches: [ master,jdk17 ]
pull_request:
branches: [ master,jdk17 ]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: wearerequired/git-mirror-action@master #同步至 gitlink
env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
with:
source-repo: "git@github.com:pig-mesh/pig-ui.git"
destination-repo: "git@code.gitlink.org.cn:lengleng/pig-ui.git"

View File

@ -1,5 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"deleteBranchAfterMerge": true,
"baseBranches": ["dev"],
"extends": [
"config:recommended"
]