|
|
@ -82,14 +82,16 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build Node.js code
|
|
|
|
- name: Build Node.js code
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
pushd ext && \
|
|
|
|
rm -rf ext
|
|
|
|
{ if [ -e package.json ] ; then yarn install --frozen-lockfile --modules-folder=../../node_modules; fi } && \
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
yarn run build:prod
|
|
|
|
yarn run build:prod
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
- name: Run tests
|
|
|
|
run: TEST_IMAGE=${{ github.repository_owner }}/${{ matrix.image.name }}:experimental VERBOSE=1 DEBUG=1 MOCHA_WEBDRIVER_HEADLESS=1 yarn run test:docker
|
|
|
|
run: TEST_IMAGE=${{ github.repository_owner }}/${{ matrix.image.name }}:experimental VERBOSE=1 DEBUG=1 MOCHA_WEBDRIVER_HEADLESS=1 yarn run test:docker
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Restore the ext/ directory
|
|
|
|
|
|
|
|
if: matrix.image.name != 'grist-oss'
|
|
|
|
|
|
|
|
run: buildtools/checkout-ext-directory.sh ${{ matrix.image.repo }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Log in to Docker Hub
|
|
|
|
- name: Log in to Docker Hub
|
|
|
|
uses: docker/login-action@v1
|
|
|
|
uses: docker/login-action@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|