Skip to content

Fix build when version of base and react-components changed #20

Fix build when version of base and react-components changed

Fix build when version of base and react-components changed #20

Workflow file for this run

name: CI/CD
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-test:
name: Build & run unit Tests (${{ matrix.os }}, node-${{ matrix.node-version }})
timeout-minutes: 60
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name Copy config
run: |

Check failure on line 25 in .github/workflows/ci-cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-cd.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
cp config/package.json .
- name: Install npm dependencies and build "traceviewer-base"
working-directory: base
run: yarn --frozen-lockfile
- name: Install npm dependencies and build "traceviewer-react-components"
working-directory: react-components
run: yarn --frozen-lockfile
#- name: Run unit tests for "traceviewer-react-components"
# working-directory: react-components
# # admitedly a hack - these dependencies would be defined one level up,
# # which does not exist here
# run: |
# yarn add base [email protected] [email protected] @types/[email protected] [email protected] @types/[email protected]
# yarn test