Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Revert "Override Docker ENTRYPOINT…" #382

Revert "Override Docker ENTRYPOINT…"

Revert "Override Docker ENTRYPOINT…" #382

Workflow file for this run

name: npmjs
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