diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49c97bb197..1f0c6e7602 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,7 +119,7 @@ jobs: run: yarn backstage-cli config:check --lax - name: lint - run: yarn lerna -- run lint --since origin/master + run: yarn backstage-cli repo lint --since origin/master - name: type checking and declarations run: yarn tsc:full @@ -139,11 +139,11 @@ jobs: - name: build changed packages if: ${{ steps.yarn-lock.outcome == 'success' }} - run: yarn lerna -- run build --since origin/master --include-dependencies + run: yarn backstage-cli repo build --all --since origin/master - name: build all packages if: ${{ steps.yarn-lock.outcome == 'failure' }} - run: yarn lerna -- run build + run: yarn backstage-cli repo build --all - name: verify type dependencies run: yarn lint:type-deps diff --git a/.github/workflows/deploy_nightly.yml b/.github/workflows/deploy_nightly.yml index 4997668563..ab4c9bcfdb 100644 --- a/.github/workflows/deploy_nightly.yml +++ b/.github/workflows/deploy_nightly.yml @@ -56,7 +56,7 @@ jobs: run: yarn tsc - name: build - run: yarn build + run: yarn backstage-cli repo build # Prepares a nightly release version of any package with pending changesets # Pre-mode is exited if case we're in it, otherwise it has no effect diff --git a/.github/workflows/deploy_packages.yml b/.github/workflows/deploy_packages.yml index 9b7a233767..fd9ed216be 100644 --- a/.github/workflows/deploy_packages.yml +++ b/.github/workflows/deploy_packages.yml @@ -102,13 +102,13 @@ jobs: run: yarn backstage-cli config:check --lax - name: lint - run: yarn lerna -- run lint + run: yarn backstage-cli repo lint - name: type checking and declarations run: yarn tsc:full - name: build - run: yarn build + run: yarn backstage-cli repo build --all - name: verify type dependencies run: yarn lint:type-deps @@ -188,7 +188,11 @@ jobs: run: yarn tsc:full - name: build packages - run: yarn lerna -- run --ignore example-app --ignore example-backend build + run: yarn backstage-cli repo build + + - name: build embedded techdocs app + working-directory: packages/techdocs-cli-embedded-app + run: yarn build # Publishes current version of packages that are not already present in the registry - name: publish diff --git a/.github/workflows/verify_e2e-linux.yml b/.github/workflows/verify_e2e-linux.yml index 3e39aee1ae..e333aaba0c 100644 --- a/.github/workflows/verify_e2e-linux.yml +++ b/.github/workflows/verify_e2e-linux.yml @@ -71,8 +71,7 @@ jobs: # End of yarn setup - run: yarn tsc - - name: yarn build - run: yarn build --ignore example-app --ignore example-backend --ignore @techdocs/cli + - run: yarn backstage-cli repo build - name: run E2E test run: | sudo sysctl fs.inotify.max_user_watches=524288 diff --git a/.github/workflows/verify_e2e-windows.yml b/.github/workflows/verify_e2e-windows.yml index 0977831d19..bc6bc8a698 100644 --- a/.github/workflows/verify_e2e-windows.yml +++ b/.github/workflows/verify_e2e-windows.yml @@ -50,8 +50,7 @@ jobs: run: yarn install --frozen-lockfile - run: yarn tsc - - name: yarn build - run: yarn build --ignore example-app --ignore example-backend --ignore @techdocs/cli + - run: yarn backstage-cli repo build - name: run E2E test run: yarn e2e-test run env: diff --git a/.github/workflows/verify_windows.yml b/.github/workflows/verify_windows.yml index 9ae4397bba..5326e293d3 100644 --- a/.github/workflows/verify_windows.yml +++ b/.github/workflows/verify_windows.yml @@ -47,7 +47,7 @@ jobs: # End of yarn setup - name: lint - run: yarn lerna -- run lint + run: yarn backstage-cli repo lint - name: type checking and declarations run: yarn tsc:full