From b4cd16094791df9491fb6dc9991857a836ac58b5 Mon Sep 17 00:00:00 2001 From: null Date: Mon, 23 Dec 2024 08:02:41 +0000 Subject: [PATCH] chore: update taiga-family/ci action to v1.105.0 --- .github/workflows/assign-author.yml | 2 +- .github/workflows/auto-merge.yml | 10 +++---- .github/workflows/auto-update-icons.yml | 6 ++-- .github/workflows/build.yml | 8 +++--- .github/workflows/create-release.yml | 4 +-- .github/workflows/deploy-gh-pages.yml | 2 +- .github/workflows/deploy-preview.yml | 4 +-- .github/workflows/e2e.yml | 28 +++++++++---------- .github/workflows/lint.yml | 6 ++-- .github/workflows/publish-canary.yml | 6 ++-- .github/workflows/publish.yml | 12 ++++---- .github/workflows/ready-to-merge.yml | 4 +-- .github/workflows/schematic.yml | 4 +-- .github/workflows/snapshots.yml | 8 +++--- .github/workflows/test.yml | 4 +-- .../multi-select/multi-select.pw.spec.ts | 4 +-- .../page-objects/documentation-api-page.po.ts | 8 ++++++ 17 files changed, 64 insertions(+), 56 deletions(-) diff --git a/.github/workflows/assign-author.yml b/.github/workflows/assign-author.yml index c33ec153d811..41f4dae0f436 100644 --- a/.github/workflows/assign-author.yml +++ b/.github/workflows/assign-author.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 - uses: toshimaru/auto-author-assign@v2.1.1 continue-on-error: true diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index ded74aceed20..8a51d2dfb61a 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -13,7 +13,7 @@ jobs: matrix: ${{ steps.matrix.outputs.value }} steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 - id: matrix if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' run: | @@ -31,7 +31,7 @@ jobs: matrix: value: ${{ fromJSON(needs.setup.outputs.matrix) }} steps: - - uses: taiga-family/ci/actions/run/wait-job@v1.104.0 + - uses: taiga-family/ci/actions/run/wait-job@v1.105.0 with: token: ${{ secrets.GITHUB_TOKEN }} job: ${{ matrix.value }} @@ -41,13 +41,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/auto/approve/double@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/auto/approve/double@v1.105.0 if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' with: token1: ${{ secrets.GITHUB_TOKEN }} token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} - - uses: taiga-family/ci/actions/run/merge@v1.104.0 + - uses: taiga-family/ci/actions/run/merge@v1.105.0 if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/auto-update-icons.yml b/.github/workflows/auto-update-icons.yml index c30c100c6421..74fca23fea91 100644 --- a/.github/workflows/auto-update-icons.yml +++ b/.github/workflows/auto-update-icons.yml @@ -11,8 +11,8 @@ jobs: - uses: actions/checkout@v4.2.2 with: persist-credentials: false - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - name: Lucide icons run: | npx nx prebuild icons @@ -31,7 +31,7 @@ jobs: npx eslint ./projects/demo/used-icons.ts --fix || echo "no file matching" npx prettier ./projects/demo/used-icons.ts --write || echo "no file matching" npx prettier ./projects/cdk/constants/used-icons.ts --write || echo "no file matching" - - uses: taiga-family/ci/actions/auto/push@v1.104.0 + - uses: taiga-family/ci/actions/auto/push@v1.105.0 if: env.SUPPORT_AUTO_PUSH with: message: icons have changed diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5242cf598712..fe5a995eb4ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - run: npm run run-many:build:libs - run: npx ts-node ./scripts/check-dist.ts @@ -22,8 +22,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - run: npx nx prerender demo - run: npx --yes bundlemon --config .github/.bundlemonrc.json continue-on-error: true diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 612a925db896..3cb7c03670c5 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -24,8 +24,8 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/setup/node@v1.104.0 - - uses: taiga-family/ci/actions/setup/config/git@v1.104.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 + - uses: taiga-family/ci/actions/setup/config/git@v1.105.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 7f45a7df1ac4..7a68750b29c7 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 - name: Prepare demo before deploy from snapshots run: | diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index fefe6823f00e..24b088985574 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - run: npx nx build demo - name: Debug output run: tree dist/demo/browser -P '*.html' diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6856524f6a0b..08df559da46b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,10 +14,10 @@ jobs: - uses: actions/checkout@v4.2.2 with: fetch-depth: 10 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/run/rebase@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/run/rebase@v1.105.0 continue-on-error: true - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - run: npx nx type-check demo-playwright - name: Building demo-app of git-branch without cache @@ -41,8 +41,8 @@ jobs: - uses: actions/checkout@v4.2.2 with: ref: ${{ github.base_ref }} - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - name: Run tests for baseline state run: npx nx component-test demo-cypress @@ -57,8 +57,8 @@ jobs: retention-days: 1 - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - name: Download Cypress Baseline Snapshots uses: actions/download-artifact@v4.1.8 @@ -120,13 +120,13 @@ jobs: runs-on: ${{ matrix.shard.os }} steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 - name: Mac OS X building all dependencies if: ${{ contains( matrix.shard.os, 'macos') }} run: brew install pkg-config cairo pango libpng jpeg-turbo giflib librsvg --force || echo '' - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - name: Get installed Playwright version id: playwright-version @@ -152,7 +152,7 @@ jobs: path: dist/demo key: ${{ env.CACHE_DIST_KEY }} - - uses: taiga-family/ci/actions/run/serve@v1.104.0 + - uses: taiga-family/ci/actions/run/serve@v1.105.0 with: port: ${{ env.NG_SERVER_PORT }} directory: ${{ env.DIST }} @@ -165,12 +165,12 @@ jobs: --project=${{ matrix.shard.project }} \ --shard=${{ matrix.shard.index }}/${{ matrix.shard.total }} - - uses: taiga-family/ci/actions/run/clone@v1.104.0 + - uses: taiga-family/ci/actions/run/clone@v1.105.0 with: branch: snapshots/demo/next/${{ github.base_ref }} destination: ${{ env.DIST_NEXT }} - - uses: taiga-family/ci/actions/run/serve@v1.104.0 + - uses: taiga-family/ci/actions/run/serve@v1.105.0 with: port: ${{ env.NG_SERVER_PORT }} directory: ${{ env.DIST_NEXT }} @@ -230,8 +230,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - name: Download artifacts for Playwright continue-on-error: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 526302ab4231..e7c6f8d111af 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,8 +13,8 @@ jobs: - uses: actions/checkout@v4.2.2 with: persist-credentials: false - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - run: npm run typecheck - run: npm run cspell - run: | @@ -27,7 +27,7 @@ jobs: npm run prettier -- --check npm run lint fi - - uses: taiga-family/ci/actions/auto/push@v1.104.0 + - uses: taiga-family/ci/actions/auto/push@v1.105.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/publish-canary.yml b/.github/workflows/publish-canary.yml index be090fbe0e2a..cb244c996ede 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -10,9 +10,9 @@ jobs: name: Publish canary steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 - - uses: taiga-family/ci/actions/setup/config/npm@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 + - uses: taiga-family/ci/actions/setup/config/npm@v1.105.0 with: token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }} - run: npx ts-node ./scripts/publish-canary.ts diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ff9078fa556d..00ea27bd539a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,19 +11,19 @@ jobs: - uses: actions/checkout@v4.2.2 with: fetch-depth: 0 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 - - uses: taiga-family/ci/actions/setup/config/npm@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 + - uses: taiga-family/ci/actions/setup/config/npm@v1.105.0 with: token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }} - run: npx nx run-many -t publish - - uses: taiga-family/ci/actions/run/read-package-json@v1.104.0 + - uses: taiga-family/ci/actions/run/read-package-json@v1.105.0 id: info - name: Announce to Time messenger - uses: taiga-family/ci/actions/messenger/time/announce@v1.104.0 + uses: taiga-family/ci/actions/messenger/time/announce@v1.105.0 if: ${{ !contains(steps.info.outputs.version, 'rc') }} with: url: ${{ secrets.ANNOUNCE_WEBHOOK }} @@ -31,7 +31,7 @@ jobs: version: v${{ steps.info.outputs.version }} - name: Announce to Telegram messenger - uses: taiga-family/ci/actions/messenger/telegram/announce@v1.104.0 + uses: taiga-family/ci/actions/messenger/telegram/announce@v1.105.0 if: ${{ !contains(steps.info.outputs.version, 'rc') }} with: chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }} diff --git a/.github/workflows/ready-to-merge.yml b/.github/workflows/ready-to-merge.yml index 8fe9235c7537..c02ba8bfe96c 100644 --- a/.github/workflows/ready-to-merge.yml +++ b/.github/workflows/ready-to-merge.yml @@ -10,8 +10,8 @@ jobs: if: github.event.review.state == 'approved' steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/auto/label-when-approved@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/auto/label-when-approved@v1.105.0 with: approvals: 2 token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/schematic.yml b/.github/workflows/schematic.yml index 3f8c9e6fb740..803b2e4f9654 100644 --- a/.github/workflows/schematic.yml +++ b/.github/workflows/schematic.yml @@ -8,8 +8,8 @@ jobs: name: Run the latest migration steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 - - uses: taiga-family/ci/actions/run/node-info@v1.104.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 + - uses: taiga-family/ci/actions/run/node-info@v1.105.0 id: info - run: npx nx run cdk:schematics --v=${{ steps.info.outputs.root-package-major-version }} diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index 3fe27293fb4e..c899f8cf6c20 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -16,8 +16,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - run: npx nx build demo # Don't use prerender please, because it's flaky for e2e - run: tree ${{ env.DIST }} -P '*.html' @@ -35,8 +35,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 id: nodejs-workspace - run: npx nx prerender demo diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db67bb19d42a..e9c808836ce9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,8 @@ jobs: name: Unit tests steps: - uses: actions/checkout@v4.2.2 - - uses: taiga-family/ci/actions/setup/variables@v1.104.0 - - uses: taiga-family/ci/actions/setup/node@v1.104.0 + - uses: taiga-family/ci/actions/setup/variables@v1.105.0 + - uses: taiga-family/ci/actions/setup/node@v1.105.0 - run: npm test - run: tree -L 2 ./coverage -P 'lcov.info' - uses: codecov/codecov-action@v5.1.2 diff --git a/projects/demo-playwright/tests/legacy/multi-select/multi-select.pw.spec.ts b/projects/demo-playwright/tests/legacy/multi-select/multi-select.pw.spec.ts index 0e8fa5aead27..c5c343c9afea 100644 --- a/projects/demo-playwright/tests/legacy/multi-select/multi-select.pw.spec.ts +++ b/projects/demo-playwright/tests/legacy/multi-select/multi-select.pw.spec.ts @@ -39,8 +39,8 @@ test.describe('MultiSelect', () => { await multiSelect.arrow.click(); await documentationPage.waitStableState(); - await page.waitForTimeout(300); await page.locator('tui-dropdown [tuiOption]').first().hover(); + await page.waitForTimeout(300); await expect(multiSelect.dropdown).toHaveScreenshot( '02-with-data-list-with-label.png', @@ -55,8 +55,8 @@ test.describe('MultiSelect', () => { await multiSelect.arrow.click(); await documentationPage.waitStableState(); - await page.waitForTimeout(300); await page.locator('tui-dropdown [tuiOption]').first().hover(); + await page.waitForTimeout(300); await expect(multiSelect.dropdown).toHaveScreenshot( '03-with-data-list-without-label.png', diff --git a/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts b/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts index 7296920caa1f..e8c3b28e490c 100644 --- a/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts +++ b/projects/demo-playwright/utils/page-objects/documentation-api-page.po.ts @@ -31,6 +31,14 @@ export class TuiDocumentationApiPagePO { } public async hideContent(): Promise { + const bars = await this.page + .locator('tui-root > tui-scroll-controls .t-bar') + .all(); + + for (const bar of bars) { + await tuiHideElement(bar); + } + return tuiHideElement(this.page.locator('tui-doc-page')); }