Bump nanoid from 3.3.7 to 3.3.8 in /docker #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker-examples | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-and-test: | |
name: build and test images | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
params: | |
- name: "tate" | |
resources-folder: "theia-app-theia-ext" | |
- name: "tave" | |
resources-folder: "theia-app-vscode-ext" | |
os: [ubuntu-latest] | |
node-version: [18] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install npm dependencies | |
run: | | |
cd docker | |
yarn --ignore-scripts | |
- name: Build trace viewer image (base version) | |
uses: nick-invision/retry@v3 | |
with: | |
timeout_minutes: 10 | |
retry_wait_seconds: 15 | |
max_attempts: 1 | |
retry_on: error | |
command: | | |
cd docker | |
yarn build:docker:${{ matrix.params.name }} | |
on_retry_command: cd .. | |
- name: Run trace viewer image (base version) | |
run: | | |
cd docker | |
docker run --init -d -p 0.0.0.0:3000:4000 --name tv-${{ matrix.params.name }}-1 tv-${{ matrix.params.name }} | |
- name: Test trace viewer (base version) | |
run: | | |
cd docker | |
yarn --cwd ${{ matrix.params.resources-folder }} test | |
docker kill tv-${{ matrix.params.name }}-1 | |
- name: Build trace viewer image (demo version) | |
uses: nick-invision/retry@v3 | |
with: | |
timeout_minutes: 10 | |
retry_wait_seconds: 15 | |
max_attempts: 1 | |
retry_on: error | |
command: | | |
cd docker | |
yarn build:docker:${{ matrix.params.name }}-demo | |
on_retry_command: cd .. | |
- name: Run trace viewer image (demo version) | |
run: | | |
docker run --init -d -p 0.0.0.0:3000:4000 --name tv-${{ matrix.params.name }}-demo-1 tv-${{ matrix.params.name }}-demo | |
- name: Test trace viewer (demo version) | |
run: | | |
cd docker | |
yarn --cwd ${{ matrix.params.resources-folder }} test-demo | |
docker kill tv-${{ matrix.params.name }}-demo-1 |