Skip to content

Commit

Permalink
update test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
qdequele committed Nov 30, 2024
1 parent 1234229 commit 713a6a6
Show file tree
Hide file tree
Showing 3 changed files with 306 additions and 377 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "yarn"
cache: "npm"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci

- name: Build
run: yarn build
run: npm run build

- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Start test environment
run: |
Expand All @@ -50,7 +55,7 @@ jobs:
docker-compose logs redis
- name: Run tests
run: yarn test:integration
run: npm run test

- name: Show test logs on failure
if: failure()
Expand Down
Loading

0 comments on commit 713a6a6

Please sign in to comment.