-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
865 changed files
with
8,332 additions
and
14,728 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 |
---|---|---|
|
@@ -12,9 +12,12 @@ jobs: | |
node-version: [lts/*] | ||
|
||
steps: | ||
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3 | ||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | ||
with: | ||
# check out all branches | ||
fetch-depth: 0 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 | ||
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'yarn' | ||
|
@@ -23,8 +26,14 @@ jobs: | |
yarn install | ||
- name: build | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "manast" | ||
git checkout docs-api | ||
git merge master --no-edit -m "chore: merge master branch on $(date +%F)" | ||
yarn pretest | ||
yarn docs | ||
yarn docs:json | ||
git add . | ||
yarn docs:merge | ||
env: | ||
CI: true | ||
- name: deploy | ||
|
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 |
---|---|---|
|
@@ -13,21 +13,52 @@ jobs: | |
contents: write # for release publishing | ||
|
||
name: Release | ||
env: | ||
commitmsg: ${{ github.event.head_commit.message }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3 | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 | ||
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3 | ||
with: | ||
node-version: lts/* | ||
cache: 'yarn' | ||
- name: Install dependencies | ||
- name: Install dependencies Node | ||
run: yarn install --frozen-lockfile --non-interactive | ||
- name: Release | ||
- run: yarn build | ||
- name: Release Node | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release | ||
- run: yarn copy:lua:python | ||
- name: Setup Python | ||
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
- name: Install dependencies Python | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 mypy types-redis | ||
pip install -r python/requirements.txt | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 ./python --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 ./python --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- name: Release Python | ||
if: ${{ contains(env.commitmsg, '(python)') }} | ||
run: | | ||
cd python | ||
pip install packaging | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "manast" | ||
export VERSION=$(semantic-release print-version) | ||
if [ ! -z "$VERSION" ]; then | ||
GH_TOKEN=${{ secrets.GITHUB_TOKEN }} PYPI_TOKEN=${{ secrets.PYPI_TOKEN }} semantic-release publish | ||
fi |
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,7 @@ | ||
{ | ||
"detectiveOptions": { | ||
"ts": { | ||
"skipTypeImports": true | ||
} | ||
} | ||
} |
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
Binary file removed
BIN
-18.3 KB
...(1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...(1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (2).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...(1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...(1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...(1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...(1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...(1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...age (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...s/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...age (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (2) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...s/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (2).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...ssets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...ok/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...itbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...ssets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (2) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...ok/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (2) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...itbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (2).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...k/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
...tbook/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
docs/gitbook/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
docs/gitbook/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
docs/gitbook/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
docs/gitbook/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
docs/gitbook/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (2) (1).png
Binary file not shown.
Binary file removed
BIN
-18.3 KB
docs/gitbook/.gitbook/assets/image (1) (1) (1) (1) (1) (1) (1) (2).png
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file added
BIN
+62.8 KB
docs/gitbook/.gitbook/assets/mermaid-diagram-2023-06-22-093213 (1).png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.