Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

OC-20751 Add "Finish Later" button to Participate forms(Update transl… #426

OC-20751 Add "Finish Later" button to Participate forms(Update transl…

OC-20751 Add "Finish Later" button to Participate forms(Update transl… #426

Workflow file for this run

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