Skip to content

[CI] [UI tests] [Docker example] Build and test the docker example app, streamline it for size. #2

[CI] [UI tests] [Docker example] Build and test the docker example app, streamline it for size.

[CI] [UI tests] [Docker example] Build and test the docker example app, streamline it for size. #2

Workflow file for this run

name: docker-example
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test:
name: Build image
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Build example-docker
if: startsWith(matrix.os,'ubuntu')
run: |
cd example/docker
docker build -t tte .
- name: Test
run: |
docker run --name tte-1 tte
ln -s example-package.json package.json
yarn test:docker