Skip to content

fix (default block): save api fetch can be called multiple to infinit… #3517

fix (default block): save api fetch can be called multiple to infinit…

fix (default block): save api fetch can be called multiple to infinit… #3517

Workflow file for this run

name: Unit Tests / JS
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Install Composer Dependencies
run: |
composer install --prefer-dist --no-progress --ignore-platform-reqs
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install NPM Dependencies
run: |
npm ci
- name: Run Test Suite
run: |
npm test -- --watchAll=false