Skip to content

Commit

Permalink
chore: update taiga-family/ci action to v1.104.0 (#10006)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiga-family-bot authored Dec 17, 2024
1 parent 607d810 commit 2d7c63f
Show file tree
Hide file tree
Showing 21 changed files with 79 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/assign-author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: toshimaru/[email protected]
continue-on-error: true

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- id: matrix
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
run: |
Expand All @@ -31,7 +31,7 @@ jobs:
matrix:
value: ${{ fromJSON(needs.setup.outputs.matrix) }}
steps:
- uses: taiga-family/ci/actions/run/wait-job@v1.103.0
- uses: taiga-family/ci/actions/run/wait-job@v1.104.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: ${{ matrix.value }}
Expand All @@ -41,13 +41,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/auto/approve/double@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/auto/approve/double@v1.104.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.103.0
- uses: taiga-family/ci/actions/run/merge@v1.104.0
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/auto-update-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- name: Lucide icons
run: |
npx nx prebuild icons
Expand All @@ -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.103.0
- uses: taiga-family/ci/actions/auto/push@v1.104.0
if: env.SUPPORT_AUTO_PUSH
with:
message: icons have changed
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npm run run-many:build:libs
- run: npx ts-node ./scripts/check-dist.ts

Expand All @@ -22,8 +22,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npx nx prerender demo
- run: npx --yes bundlemon --config .github/.bundlemonrc.json
continue-on-error: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/config/git@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/config/git@v1.104.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0

- name: Prepare demo before deploy from snapshots
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npx nx build demo
- name: Debug output
run: tree dist/demo/browser -P '*.html'
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 10
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/run/rebase@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/run/rebase@v1.104.0
continue-on-error: true
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- run: npx nx type-check demo-playwright
- name: Building demo-app of git-branch without cache
Expand All @@ -41,8 +41,8 @@ jobs:
- uses: actions/[email protected]
with:
ref: ${{ github.base_ref }}
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- name: Run tests for baseline state
run: npx nx component-test demo-cypress
Expand All @@ -57,8 +57,8 @@ jobs:
retention-days: 1

- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- name: Download Cypress Baseline Snapshots
uses: actions/[email protected]
Expand Down Expand Up @@ -120,13 +120,13 @@ jobs:
runs-on: ${{ matrix.shard.os }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.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.103.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- name: Get installed Playwright version
id: playwright-version
Expand All @@ -152,7 +152,7 @@ jobs:
path: dist/demo
key: ${{ env.CACHE_DIST_KEY }}

- uses: taiga-family/ci/actions/run/serve@v1.103.0
- uses: taiga-family/ci/actions/run/serve@v1.104.0
with:
port: ${{ env.NG_SERVER_PORT }}
directory: ${{ env.DIST }}
Expand All @@ -165,12 +165,12 @@ jobs:
--project=${{ matrix.shard.project }} \
--shard=${{ matrix.shard.index }}/${{ matrix.shard.total }}
- uses: taiga-family/ci/actions/run/clone@v1.103.0
- uses: taiga-family/ci/actions/run/clone@v1.104.0
with:
branch: snapshots/demo/next/${{ github.base_ref }}
destination: ${{ env.DIST_NEXT }}

- uses: taiga-family/ci/actions/run/serve@v1.103.0
- uses: taiga-family/ci/actions/run/serve@v1.104.0
with:
port: ${{ env.NG_SERVER_PORT }}
directory: ${{ env.DIST_NEXT }}
Expand Down Expand Up @@ -230,8 +230,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- name: Download artifacts for Playwright
continue-on-error: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npm run typecheck
- run: npm run cspell
- run: |
Expand All @@ -27,7 +27,7 @@ jobs:
npm run prettier -- --check
npm run lint
fi
- uses: taiga-family/ci/actions/auto/push@v1.103.0
- uses: taiga-family/ci/actions/auto/push@v1.104.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Publish canary
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.103.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
with:
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}
- run: npx ts-node ./scripts/publish-canary.ts
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.103.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
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.103.0
- uses: taiga-family/ci/actions/run/read-package-json@v1.104.0
id: info

- name: Announce to Time messenger
uses: taiga-family/ci/actions/messenger/time/announce@v1.103.0
uses: taiga-family/ci/actions/messenger/time/announce@v1.104.0
if: ${{ !contains(steps.info.outputs.version, 'rc') }}
with:
url: ${{ secrets.ANNOUNCE_WEBHOOK }}
channel: ${{ secrets.ANNOUNCE_TARGET }}
version: v${{ steps.info.outputs.version }}

- name: Announce to Telegram messenger
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.103.0
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.104.0
if: ${{ !contains(steps.info.outputs.version, 'rc') }}
with:
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ready-to-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
if: github.event.review.state == 'approved'
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/auto/label-when-approved@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/auto/label-when-approved@v1.104.0
with:
approvals: 2
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/schematic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: Run the latest migration
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/run/node-info@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/run/node-info@v1.104.0
id: info
- run: npx nx run cdk:schematics --v=${{ steps.info.outputs.root-package-major-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- run: npx nx build demo # Don't use prerender please, because it's flaky for e2e
- run: tree ${{ env.DIST }} -P '*.html'
Expand All @@ -35,8 +35,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
id: nodejs-workspace

- run: npx nx prerender demo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
name: Unit tests
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.103.0
- uses: taiga-family/ci/actions/setup/node@v1.103.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npm test
- run: tree -L 2 ./coverage -P 'lcov.info'
- uses: codecov/[email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ test.describe('Preview', () => {

await expect(preview).toBeAttached();

await page.waitForLoadState('networkidle');

await preview.click(); // requires for mouse wheel
await page.mouse.wheel(0, -50);

await page.waitForLoadState('networkidle'); // wait load image in dialog

await expect(preview).toHaveScreenshot('01-preview-zoom-by-wheel.png');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('DataList', () => {

await example.scrollIntoViewIfNeeded();
await example.locator('tui-select').click();
await documentationPagePO.prepareBeforeScreenshot();
await page.locator('tui-dropdown [tuiOption]').nth(0).hover();

await expect(page.locator('tui-dropdown')).toHaveScreenshot('01-data-list.png');
});
Expand All @@ -23,7 +23,8 @@ test.describe('DataList', () => {

await example.scrollIntoViewIfNeeded();
await example.locator('[tuiDropdownOpen]').click();
await documentationPagePO.prepareBeforeScreenshot();
await page.locator('tui-dropdown [tuiOption]').nth(0).hover();
await page.waitForTimeout(300);

await expect(page.locator('tui-dropdown')).toHaveScreenshot('02-data-list.png');
});
Expand Down
12 changes: 4 additions & 8 deletions projects/demo-playwright/tests/deep/deep-select.pw.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('Deep / Select', () => {
);

deepPaths.forEach((path) =>
test(`${path}`, async ({page, browserName}) => {
test(`${path}`, async ({page}) => {
await tuiMockImages(page);
await tuiGoto(page, `${path}/API`);

Expand All @@ -37,11 +37,7 @@ test.describe('Deep / Select', () => {
await expect(select).toBeVisible();

await select.click();

// note: hello Safari
if (browserName === 'webkit') {
await page.waitForTimeout(200);
}
await page.waitForTimeout(200);

const options = await api.getOptions();

Expand All @@ -51,14 +47,14 @@ test.describe('Deep / Select', () => {
await api.focusOnBody();
await api.hideNotifications();
await api.waitStableState();
await page.waitForTimeout(200);
await page.waitForTimeout(300);

await expect(api.apiPageExample).toHaveScreenshot(
`deep-${path}-${name}-row—${rowIndex}-select-option-${index}.png`,
);

await select.click();
await page.waitForTimeout(200);
await page.waitForTimeout(100);
}

const cleaner = await api.getCleaner(select);
Expand Down
Loading

0 comments on commit 2d7c63f

Please sign in to comment.