Skip to content

Commit

Permalink
chore: remove sample
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoliaots committed Sep 20, 2024
1 parent 7e7d350 commit 7b51929
Show file tree
Hide file tree
Showing 24 changed files with 2 additions and 8,431 deletions.
37 changes: 2 additions & 35 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
26 changes: 0 additions & 26 deletions sample/01-testing-inject/.eslintrc.js

This file was deleted.

10 changes: 0 additions & 10 deletions sample/01-testing-inject/.prettierrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions sample/01-testing-inject/.vscode/cspell.json

This file was deleted.

3 changes: 0 additions & 3 deletions sample/01-testing-inject/.vscode/settings.json

This file was deleted.

12 changes: 0 additions & 12 deletions sample/01-testing-inject/compose.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions sample/01-testing-inject/nest-cli.json

This file was deleted.

Loading

0 comments on commit 7b51929

Please sign in to comment.