Skip to content

Commit

Permalink
💚 Fixing CI Build. repo mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
lbw committed Mar 2, 2024
1 parent 3ea89f8 commit a2c6167
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -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: "[email protected]:pig-mesh/pig-ui.git"
destination-repo: "[email protected]:lengleng/pig-ui.git"
2 changes: 2 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"deleteBranchAfterMerge": true,
"baseBranches": ["dev"],
"extends": [
"config:recommended"
]
Expand Down

0 comments on commit a2c6167

Please sign in to comment.