Skip to content

chore(deps-dev): bump @types/react from 18.2.13 to 18.2.19 #606

chore(deps-dev): bump @types/react from 18.2.13 to 18.2.19

chore(deps-dev): bump @types/react from 18.2.13 to 18.2.19 #606

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
name: Build with main branch of kaoto-ui
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout vscode-kaoto
uses: actions/checkout@v3
with:
path: vscode-kaoto
- name: Checkout kaoto-ui
uses: actions/checkout@v3
with:
path: kaoto-ui
repository: KaotoIO/kaoto-ui
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Kaoto-ui build
working-directory: kaoto-ui
run: |
yarn
yarn workspace @kaoto/kaoto-ui run build:lib
- name: yarn link kaoto-ui
working-directory: vscode-kaoto
run: yarn link ../kaoto-ui/packages/kaoto-ui
- name: yarn build:dev
working-directory: vscode-kaoto
run: yarn build:dev
- name: yarn build:prod
working-directory: vscode-kaoto
run: yarn build:prod
- name: vsix package
working-directory: vscode-kaoto
run: yarn vsce package --no-dependencies --yarn
- name: Run UI Tests
working-directory: vscode-kaoto
run: xvfb-run -a yarn run test:it:with-prebuilt-vsix
- name: Archive vsix
uses: actions/upload-artifact@v3
with:
path: 'vscode-kaoto/*.vsix'
- name: Store VS Code logs
uses: actions/upload-artifact@v3
if: always()
with:
name: vscode-logs
path: vscode-kaoto/test-resources/settings/logs
- name: Store VS Code UI Tests screenshots on failure
uses: actions/upload-artifact@v3
if: failure()
with:
name: ui-test-screenshots
path: vscode-kaoto/test-resources/screenshots