add build #29
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: Test Dev | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
run-tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
container: node:18.17-slim | |
services: | |
redis: | |
image: redis:6.2-alpine | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Test | |
env: | |
REDIS_URI: redis://redis:6379 | |
run: npm run test |