-
Notifications
You must be signed in to change notification settings - Fork 71
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
7e7d350
commit 7b51929
Showing
24 changed files
with
2 additions
and
8,431 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 |
---|---|---|
|
@@ -5,20 +5,14 @@ on: | |
- main | ||
jobs: | ||
test: | ||
name: Node ${{ matrix.node_version }} | ||
name: Node.js 20 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
node_version: | ||
- 18 | ||
- 20 | ||
- 22 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
node-version: 20 | ||
check-latest: true | ||
architecture: x64 | ||
- name: Setup pnpm | ||
|
@@ -36,30 +30,3 @@ jobs: | |
- 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 | ||
test-node16: | ||
name: Node 16 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
check-latest: true | ||
architecture: x64 | ||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 8 | ||
- 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: rm -v pnpm-lock.yaml | ||
- run: pnpm install --no-frozen-lockfile | ||
- 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 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.