This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
fixed: temporary workaround for calculations not updating when they a… #434
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: ci | |
on: | |
push: | |
pull_request: | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
TEST_REDIS_MAIN_PORT: 6379 | |
TEST_REDIS_CACHE_PORT: 6380 | |
strategy: | |
matrix: | |
node: ['14', '16'] | |
services: | |
redis-6379: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- '6379:6379' | |
redis-6380: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- '6380:6379' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: node_modules | |
key: ${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }} | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
registry-url: https://registry.npmjs.org/ | |
- run: npm install -g npm@^6 | |
- if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci | |
- run: npm test |