This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
Merge pull request #1701 from kkoomen/dependabot/npm_and_yarn/nestjs/… #2622
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
name: Tests | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [16] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Initiate docker containers | |
run: docker-compose -f docker-compose.yml up -d | |
- name: Check running containers | |
run: docker ps -a | |
- name: Check docker logs | |
run: sleep 20 && docker logs redis && docker logs redis_cluster | |
- name: Setup NodeJS v${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn install | |
- run: yarn run lint | |
- run: yarn run test:e2e |