chore: update ci
chore: test chore: update ci chore: update ci chore: update ci chore: update ci chore: update ci chore: update ci chore: update cipull/48/MERGE
parent
9278c4b416
commit
0085429ef4
|
@ -1,7 +1,7 @@
|
|||
name: 🐞 Bug Report
|
||||
description: Report an issue with Vben Admin to help us make it better.
|
||||
title: "Bug: "
|
||||
labels: ["bug"]
|
||||
labels: ["bug: pending triage"]
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: ✨ New Feature Proposal
|
||||
description: Propose a new feature to be added to Vben Admin
|
||||
title: "FEATURE: "
|
||||
labels: ["enhancement"]
|
||||
labels: ["enhancement: pending triage"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
|
|
|
@ -4,7 +4,14 @@ updates:
|
|||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
groups:
|
||||
non-breaking-changes:
|
||||
update-types: [minor, patch]
|
||||
|
||||
- package-ecosystem: github-actions
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
groups:
|
||||
non-breaking-changes:
|
||||
update-types: [minor, patch]
|
||||
|
|
|
@ -26,7 +26,7 @@ Please delete options that are not relevant.
|
|||
|
||||
> 👉 _Put an `x` in the boxes that apply._
|
||||
|
||||
- [ ] If you introduce new functionality, document it. You can run documentation with `pnpm run docs` command.
|
||||
- [ ] If you introduce new functionality, document it. You can run documentation with `pnpm run docs:dev` command.
|
||||
|
||||
### Changesets
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# https://github.com/changesets/action
|
||||
name: Release
|
||||
name: Changeset version
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
@ -18,7 +18,7 @@ env:
|
|||
|
||||
jobs:
|
||||
version:
|
||||
if: (github.event.pull_request.merged || github.event_name == 'workflow_dispatch') && github.actor != 'dependabot[bot] && !contains(github.event.head_commit.message, '[skip ci]')
|
||||
if: (github.event.pull_request.merged || github.event_name == 'workflow_dispatch') && github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]')
|
||||
# if: github.repository == 'vbenjs/vue-vben-admin'
|
||||
timeout-minutes: 15
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
uses: changesets/action@v1
|
||||
with:
|
||||
version: pnpm run version
|
||||
commit: "chore: update versions"
|
||||
title: "chore: update versions"
|
||||
commit: "chore: bump versions"
|
||||
title: "chore: bump versions [skip ci]"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
|
|
@ -13,6 +13,7 @@ permissions:
|
|||
|
||||
env:
|
||||
CI: true
|
||||
TZ: Asia/Shanghai
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@ -21,10 +22,11 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20]
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
# - macos-latest
|
||||
# - windows-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
@ -64,10 +66,11 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20]
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
# - macos-latest
|
||||
# - windows-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
@ -90,23 +93,28 @@ jobs:
|
|||
- name: Lint
|
||||
run: pnpm run lint
|
||||
|
||||
# check:
|
||||
# name: Typecheck
|
||||
# runs-on: ubuntu-latest
|
||||
# timeout-minutes: 20
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - uses: ./.github/actions/ci-setup
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# - uses: ./.github/actions/ci-setup
|
||||
|
||||
# - name: Typecheck
|
||||
# run: pnpm check:type
|
||||
# - name: Typecheck
|
||||
# run: pnpm check:type
|
||||
|
||||
# From https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions
|
||||
- name: Check workflow files
|
||||
run: |
|
||||
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
|
||||
./actionlint -color -shellcheck=""
|
||||
|
||||
ci-ok:
|
||||
name: CI OK
|
||||
runs-on: ubuntu-latest
|
||||
if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]') && always()
|
||||
# needs: [test, check, lint]
|
||||
needs: [test, lint]
|
||||
needs: [test, check, lint]
|
||||
env:
|
||||
FAILURE: ${{ contains(join(needs.*.result, ','), 'failure') }}
|
||||
steps:
|
||||
|
|
|
@ -10,14 +10,23 @@ jobs:
|
|||
reply-labeled:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# - name: remove pending
|
||||
# if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug'
|
||||
# uses: actions-cool/issues-helper@v3
|
||||
# with:
|
||||
# actions: "remove-labels"
|
||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||
# issue-number: ${{ github.event.issue.number }}
|
||||
# labels: "bug: pending triage"
|
||||
- name: remove enhancement pending
|
||||
if: github.event.label.name == 'enhancement'
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: "remove-labels"
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
labels: "enhancement: pending triage"
|
||||
|
||||
- name: remove bug pending
|
||||
if: github.event.label.name == 'bug'
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: "remove-labels"
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
labels: "bug: pending triage"
|
||||
|
||||
- name: needs reproduction
|
||||
if: github.event.label.name == 'needs reproduction'
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
name: Create Release Tag
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Create Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Create Release for Tag
|
||||
id: release_tag
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
generateReleaseNotes: "true"
|
||||
body: |
|
||||
> Please refer to [CHANGELOG.md](https://github.com/vbenjs/vue-vben-admin/blob/main/CHANGELOG.md) for details.
|
|
@ -0,0 +1,25 @@
|
|||
name: Semantic Pull Request
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
main:
|
||||
if: github.repository == 'vitejs/vite'
|
||||
runs-on: ubuntu-latest
|
||||
name: Semantic Pull Request
|
||||
steps:
|
||||
- name: Validate PR title
|
||||
uses: amannn/action-semantic-pull-request@v5
|
||||
with:
|
||||
subjectPattern: ^(?![A-Z]).+$
|
||||
subjectPatternError: |
|
||||
The subject "{subject}" found in the pull request title "{title}"
|
||||
didn't match the configured pattern. Please ensure that the subject
|
||||
doesn't start with an uppercase character.
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
@ -0,0 +1,18 @@
|
|||
name: "Close stale issues"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
repo-token: ${{ secrets.ACCESS_TOKEN }}
|
||||
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days"
|
||||
stale-pr-message: "This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days"
|
||||
exempt-issue-labels: "bug,enhancement"
|
||||
days-before-stale: 60
|
||||
days-before-close: 7
|
|
@ -39,7 +39,7 @@
|
|||
"ant-design-vue": "^4.2.3",
|
||||
"dayjs": "^1.11.11",
|
||||
"pinia": "2.1.7",
|
||||
"vue": "3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-router": "^4.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
"overrides": {
|
||||
"@ctrl/tinycolor": "4.1.0",
|
||||
"clsx": "2.1.1",
|
||||
"vue": "3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
},
|
||||
"neverBuiltDependencies": [
|
||||
"canvas",
|
||||
|
|
|
@ -36,6 +36,6 @@
|
|||
"@vben-core/toolkit": "workspace:*",
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"@vueuse/core": "^10.11.0",
|
||||
"vue": "3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"@vben-core/typings": "workspace:*",
|
||||
"pinia": "2.1.7",
|
||||
"pinia-plugin-persistedstate": "^3.2.1",
|
||||
"vue": "3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-router": "^4.3.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@iconify/vue": "^4.1.2",
|
||||
"vue": "3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-router": "^4.3.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,6 +44,6 @@
|
|||
"@vben-core/shadcn-ui": "workspace:*",
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"@vueuse/core": "^10.11.0",
|
||||
"vue": "3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,6 +46,6 @@
|
|||
"@vben-core/toolkit": "workspace:*",
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"@vueuse/core": "^10.11.0",
|
||||
"vue": "3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
"clsx": "2.1.1",
|
||||
"radix-vue": "^1.8.3",
|
||||
"tailwind-merge": "^2.3.0",
|
||||
"vue": "3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-sonner": "^1.1.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,6 +45,6 @@
|
|||
"@vben-core/shadcn-ui": "workspace:*",
|
||||
"@vben-core/toolkit": "workspace:*",
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"vue": "3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
"@vueuse/core": "^10.11.0",
|
||||
"@vueuse/integrations": "^10.11.0",
|
||||
"qrcode": "^1.5.3",
|
||||
"vue": "3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-router": "^4.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"@vben-core/toolkit": "workspace:*",
|
||||
"@vben/common-ui": "workspace:*",
|
||||
"@vben/locales": "workspace:*",
|
||||
"vue": "3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-router": "^4.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -41,6 +41,6 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"dependencies": {
|
||||
"@intlify/core-base": "^9.13.1",
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"vue": "3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-i18n": "^9.13.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@vben-core/typings": "workspace:*",
|
||||
"vue": "3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-router": "^4.3.3"
|
||||
}
|
||||
}
|
||||
|
|
448
pnpm-lock.yaml
448
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -9,6 +9,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"vitepress": "^1.2.3",
|
||||
"vue": "3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue