Update README.md #10
This file contains hidden or 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 | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: "test on nodejs 14" | |
| runs-on: ubuntu-18.04 | |
| services: | |
| redis: | |
| image: redis | |
| options: >- | |
| --health-cmd "redis-cli ping" | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| ports: | |
| - 6379:6379 | |
| container: node:14-alpine | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v2 | |
| - name: install | |
| run: npm i | |
| - name: test | |
| run: npm test | |
| env: | |
| REDIS_HOST: redis | |
| REDIS_PORT: 6379 |