-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'taiga-family:main' into main
- Loading branch information
Showing
242 changed files
with
4,831 additions
and
2,798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ jobs: | |
BRANCH: refs/pull/${{ github.event.number }}/merge | ||
steps: | ||
- uses: actions/[email protected] | ||
continue-on-error: true | ||
- run: | | ||
- continue-on-error: true | ||
run: | | ||
gh cache list --ref $BRANCH > cache.log && cat cache.log | ||
for cacheId in $(gh cache list --ref $BRANCH --json id | jq -r .[].id); do | ||
|
@@ -28,30 +28,18 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- name: Drop e2e report site | ||
uses: w9jds/firebase-action@v13.28.0 | ||
uses: w9jds/firebase-action@v13.29.1 | ||
continue-on-error: true | ||
with: | ||
args: hosting:channel:delete ${{ env.channel }}-e2e --site taiga-previews-demo-e2e-report -f | ||
env: | ||
GCP_SA_KEY: ${{ secrets.FIREBASE_TAIGA_PREVIEWS_SA }} | ||
PROJECT_ID: taiga-previews | ||
- name: Drop preview demo site | ||
uses: w9jds/firebase-action@v13.28.0 | ||
uses: w9jds/firebase-action@v13.29.1 | ||
continue-on-error: true | ||
with: | ||
args: hosting:channel:delete ${{ env.channel }}-demo --site taiga-previews-demo -f | ||
env: | ||
GCP_SA_KEY: ${{ secrets.FIREBASE_TAIGA_PREVIEWS_SA }} | ||
PROJECT_ID: taiga-previews | ||
|
||
community-contribution: | ||
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions-ecosystem/[email protected] | ||
if: ${{ github.event.pull_request.merged == true }} | ||
with: | ||
github_token: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} | ||
labels: | | ||
community contribution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.105.0 | ||
- uses: toshimaru/[email protected] | ||
continue-on-error: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
matrix: ${{ steps.matrix.outputs.value }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.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.102.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/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/auto/approve/double@v1.102.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.102.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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.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.102.0 | ||
- uses: taiga-family/ci/actions/auto/push@v1.105.0 | ||
if: env.SUPPORT_AUTO_PUSH | ||
with: | ||
message: icons have changed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.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/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.105.0 | ||
|
||
- name: Prepare demo before deploy from snapshots | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.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' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,10 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 10 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/run/rebase@v1.102.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.102.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,14 +41,14 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.base_ref }} | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.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 | ||
|
||
- name: Save Cypress Baseline Snapshots | ||
uses: actions/upload-artifact@v4.4.3 | ||
uses: actions/upload-artifact@v4.5.0 | ||
with: | ||
path: ${{env.CYPRESS_BASELINE_SNAPSHOTS}} | ||
name: ${{env.CYPRESS_BASELINE_SNAPSHOTS_KEY}} | ||
|
@@ -57,8 +57,8 @@ jobs: | |
retention-days: 1 | ||
|
||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.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/[email protected] | ||
|
@@ -80,7 +80,7 @@ jobs: | |
run: tree ${{ env.CYPRESS_RESULTS_FOLDER }} -L 1 | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4.4.3 | ||
uses: actions/upload-artifact@v4.5.0 | ||
with: | ||
path: '${{ env.CYPRESS_RESULTS_FOLDER }}/**/*.diff.png' | ||
name: ${{ env.CYPRESS_SNAPSHOTS_ARTIFACTS_KEY }} | ||
|
@@ -93,9 +93,18 @@ jobs: | |
needs: [build-demo] | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 9 | ||
matrix: | ||
shard: [ | ||
# Safari | ||
{index: 1, os: 'macos-latest', project: 'webkit', total: 9}, | ||
{index: 2, os: 'macos-latest', project: 'webkit', total: 9}, | ||
{index: 3, os: 'macos-latest', project: 'webkit', total: 9}, | ||
{index: 4, os: 'macos-latest', project: 'webkit', total: 9}, | ||
{index: 5, os: 'macos-latest', project: 'webkit', total: 9}, | ||
{index: 6, os: 'macos-latest', project: 'webkit', total: 9}, | ||
{index: 7, os: 'macos-latest', project: 'webkit', total: 9}, | ||
{index: 8, os: 'macos-latest', project: 'webkit', total: 9}, | ||
{index: 9, os: 'macos-latest', project: 'webkit', total: 9}, | ||
# Chrome | ||
{index: 1, os: 'ubuntu-latest', project: 'chromium', total: 9}, | ||
{index: 2, os: 'ubuntu-latest', project: 'chromium', total: 9}, | ||
|
@@ -111,8 +120,13 @@ jobs: | |
runs-on: ${{ matrix.shard.os }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
- 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/[email protected] | ||
|
||
- name: Get installed Playwright version | ||
id: playwright-version | ||
|
@@ -138,7 +152,7 @@ jobs: | |
path: dist/demo | ||
key: ${{ env.CACHE_DIST_KEY }} | ||
|
||
- uses: taiga-family/ci/actions/run/serve@v1.102.0 | ||
- uses: taiga-family/ci/actions/run/serve@v1.105.0 | ||
with: | ||
port: ${{ env.NG_SERVER_PORT }} | ||
directory: ${{ env.DIST }} | ||
|
@@ -151,12 +165,12 @@ jobs: | |
--project=${{ matrix.shard.project }} \ | ||
--shard=${{ matrix.shard.index }}/${{ matrix.shard.total }} | ||
- uses: taiga-family/ci/actions/run/clone@v1.102.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.102.0 | ||
- uses: taiga-family/ci/actions/run/serve@v1.105.0 | ||
with: | ||
port: ${{ env.NG_SERVER_PORT }} | ||
directory: ${{ env.DIST_NEXT }} | ||
|
@@ -176,7 +190,7 @@ jobs: | |
npx ts-node ./scripts/visual-testing/combine-playwright-failed-screenshots.ts | ||
- name: Upload artifacts / ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }} | ||
uses: actions/upload-artifact@v4.4.3 | ||
uses: actions/upload-artifact@v4.5.0 | ||
with: | ||
path: ./projects/demo-playwright/tests-results/**/*-retry${{ env.RETRY_COUNT }}/**/*.diff.png | ||
name: ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }}_${{ matrix.shard.index }} | ||
|
@@ -185,7 +199,7 @@ jobs: | |
retention-days: 1 | ||
|
||
- name: Upload reports / ${{ env.PLAYWRIGHT_BLOB_ARTIFACTS_KEY }}_${{ matrix.shard.index }} | ||
uses: actions/upload-artifact@v4.4.3 | ||
uses: actions/upload-artifact@v4.5.0 | ||
with: | ||
path: ./projects/demo-playwright/blob-report | ||
name: ${{ env.PLAYWRIGHT_BLOB_ARTIFACTS_KEY }}_${{ matrix.shard.index }} | ||
|
@@ -216,8 +230,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,8 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.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.102.0 | ||
- uses: taiga-family/ci/actions/auto/push@v1.105.0 | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,9 @@ jobs: | |
name: Publish canary | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/config/npm@v1.102.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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,27 +11,27 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: taiga-family/ci/actions/setup/variables@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/node@v1.102.0 | ||
- uses: taiga-family/ci/actions/setup/config/npm@v1.102.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.102.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.102.0 | ||
uses: taiga-family/ci/actions/messenger/time/announce@v1.105.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.102.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 }} | ||
|
Oops, something went wrong.