-
-
Notifications
You must be signed in to change notification settings - Fork 782
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from zuramai/2.0.0-rc.1
Merge v2.0.0-rc.1 branch
- Loading branch information
Showing
1,875 changed files
with
26,214 additions
and
256,405 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,31 @@ | ||
name: Deploy demo to docs | ||
|
||
# Will run on 2.0.0-rc.1 branch | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
|
||
- name: Install and Build 🔧 | ||
run: | | ||
npm install | ||
npm run production | ||
rm dist/.gitignore | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: docs # The branch the action should deploy to. | ||
folder: ./dist # The folder the action should deploy. | ||
target-folder: demo # Deploy to `demo` folder in `docs` branch | ||
commit-message: "update: demo" | ||
|
||
|
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,50 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
required: true | ||
type: string | ||
description: Release version number (semver) | ||
prerelease: | ||
required: false | ||
default: false | ||
type: boolean | ||
description: Is it pre-release version? | ||
|
||
# on: | ||
# workflow_dispatch: | ||
# inputs: | ||
# version: | ||
# required: true | ||
# type: string | ||
# description: Release version number (semver) | ||
# prerelease: | ||
# required: false | ||
# default: false | ||
# type: boolean | ||
# description: Is it pre-release version? | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
|
||
- name: Install and Build 🔧 | ||
run: | | ||
npm install | ||
npm run production | ||
rm dist/.gitignore | ||
npm run zip | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
prerelease: ${{ github.event.inputs.prerelease }} | ||
tag_name: ${{ github.event.inputs.version }} | ||
files: | | ||
dist.zip |
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 |
---|---|---|
|
@@ -4,3 +4,5 @@ | |
|
||
# ignore code scanning from package-lock | ||
package-lock.json | ||
|
||
dist.zip |
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
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
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,2 @@ | ||
* | ||
!.gitignore |
Oops, something went wrong.