-
Notifications
You must be signed in to change notification settings - Fork 70
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
1 parent
470f6dc
commit c783bbe
Showing
37 changed files
with
82 additions
and
8,519 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 |
---|---|---|
|
@@ -2,4 +2,5 @@ root = true | |
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
indent_size = 2 | ||
charset = utf-8 |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: "Bug report \U0001F41E" | ||
about: Create a bug report | ||
labels: bug | ||
--- | ||
|
||
## Describe the bug | ||
|
||
A clear and concise description of what the bug is. | ||
|
||
### Steps to reproduce | ||
|
||
Steps to reproduce the behavior. | ||
|
||
### Expected behavior | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
### Environment | ||
|
||
- OS: [e.g. Arch Linux] | ||
- Other details that you think may affect. | ||
|
||
### Additional context | ||
|
||
Add any other context about the problem here. |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,34 @@ | ||
name: testing | ||
name: Testing | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
test: | ||
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-22.04 | ||
node_version: | ||
- 14 | ||
- 16 | ||
- 18 | ||
architecture: | ||
- x64 | ||
name: Node.js 20 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/action-setup@v2 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: latest | ||
- uses: actions/setup-node@v3 | ||
version: 9 | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
node-version: 20 | ||
check-latest: true | ||
architecture: ${{ matrix.architecture }} | ||
- run: docker compose up -d | ||
- run: docker compose exec -T cluster-1_master-1 redis-cli --cluster create 127.0.0.1:16380 127.0.0.1:16381 127.0.0.1:16382 --cluster-yes | ||
- run: docker compose exec -T cluster-2_master-1 redis-cli --cluster create 127.0.0.1:16480 127.0.0.1:16481 127.0.0.1:16482 --cluster-yes | ||
architecture: x64 | ||
cache: 'pnpm' | ||
- name: Run docker-compose | ||
uses: hoverkraft-tech/[email protected] | ||
with: | ||
compose-file: './compose.yaml' | ||
up-flags: '-d' | ||
down-flags: '-v' | ||
- run: docker compose exec cluster-m1 redis-cli -a mycluster --cluster create 127.0.0.1:7380 127.0.0.1:7381 127.0.0.1:7382 --cluster-yes | ||
- run: pnpm install --frozen-lockfile | ||
- run: pnpm -F "@liaoliaots/nestjs-redis" lint | ||
- run: pnpm -F "@liaoliaots/nestjs-redis" test | ||
- run: pnpm -F "@liaoliaots/nestjs-redis" test:e2e | ||
- run: pnpm -F "@liaoliaots/nestjs-redis-health" lint | ||
- run: pnpm -F "@liaoliaots/nestjs-redis-health" test | ||
- run: pnpm -F "@liaoliaots/nestjs-redis-health" test:e2e | ||
- run: docker compose down -v | ||
- run: pnpm run -F "@liaoliaots/nestjs-redis" lint | ||
- run: pnpm run -F "@liaoliaots/nestjs-redis" test | ||
- run: pnpm run -F "@liaoliaots/nestjs-redis" test:e2e |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
printWidth: 120 | ||
tabWidth: 2 | ||
singleQuote: true | ||
trailingComma: none | ||
arrowParens: avoid | ||
endOfLine: auto |
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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.