This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add workflow and add cssTarget for vite
- Loading branch information
Showing
7 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: 'Bug report 🐞' | ||
about: "If something isn't working as expected 🤔." | ||
--- | ||
|
||
# Bug report 🐞 | ||
|
||
## Version & Environment | ||
|
||
## Expectation | ||
|
||
## Actual results (or Errors) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: 'Feature request 🚀' | ||
about: 'I have a suggestion!' | ||
--- | ||
|
||
# Feature request 🚀 | ||
|
||
### Expected: | ||
|
||
- No breaking changes | ||
|
||
### Examples: | ||
|
||
```js | ||
|
||
``` | ||
|
||
### Programme: | ||
|
||
### Others: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
name: 'About `styles` 🛠️' | ||
about: 'Issues and feature requests for styles' | ||
--- | ||
|
||
# About `styles` 🛠️ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
name: 'About `docs` 🛠️' | ||
about: 'Issues and feature requests for docs' | ||
--- | ||
|
||
# About `docs` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Checklist | ||
|
||
--- | ||
|
||
- [ ] Fix linting errors | ||
- [ ] Tests have been added / updated (or snapshots) | ||
|
||
## Change information | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Deploy Site And Sync to Gitee | ||
|
||
on: | ||
push: | ||
branches: [dev, main] | ||
|
||
jobs: | ||
deploy-site-sync-gitee: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 6 | ||
|
||
- name: Set node version to 14 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm bootstrap | ||
|
||
- name: Build site | ||
run: cd packages/varlet-vue2-ui && pnpm build | ||
|
||
- name: Deploy site | ||
uses: JamesIves/github-pages-deploy-action@4.1.1 | ||
with: | ||
branch: gh-page | ||
folder: packages/varlet-vue2-ui/site | ||
|
||
- name: Sync to Gitee | ||
uses: wearerequired/git-mirror-action@master | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY_FOR_VUE2 }} | ||
with: | ||
source-repo: git@github.com:varletjs/varlet-vue2.git | ||
destination-repo: git@gitee.com:varlet/varlet-ui-vue2.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters