diff --git a/.github/workflows/auto-add-to-project.yml b/.github/workflows/auto-add-to-project.yml index 8acaa6185..8ca8b4888 100644 --- a/.github/workflows/auto-add-to-project.yml +++ b/.github/workflows/auto-add-to-project.yml @@ -7,6 +7,6 @@ jobs: automate-project-columns: runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup-project@1.16.0 + - uses: taiga-family/ci/actions/setup/project@1.20.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 9eeac9628..666728789 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -10,8 +10,8 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/two-approve@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/auto/approve/double@1.20.0 if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true' with: token1: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index 7c13a4532..f0f5a1411 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -11,9 +11,8 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - name: Auto assign + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: toshimaru/auto-author-assign@v2.0.1 if: env.IS_OWNER_MODE == 'true' - uses: toshimaru/auto-author-assign@v2.0.1 with: repo-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/auto-cleanup-caches.yml b/.github/workflows/auto-cleanup-caches.yml index 502b8c25a..64d25bbc8 100644 --- a/.github/workflows/auto-cleanup-caches.yml +++ b/.github/workflows/auto-cleanup-caches.yml @@ -15,11 +15,11 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/cleanup-cache@1.16.0 + - uses: taiga-family/ci/actions/auto/cleanup-cache@1.20.0 if: github.event_name == 'push' with: branch-name: ${{ github.head_ref || github.ref_name }} - - uses: taiga-family/ci/actions/cleanup-cache@1.16.0 + - uses: taiga-family/ci/actions/auto/cleanup-cache@1.20.0 if: github.event_name == 'pull_request' with: branch-name: refs/pull/${{ github.event.pull_request.number }}/merge diff --git a/.github/workflows/auto-dependency-review.yml b/.github/workflows/auto-dependency-review.yml index 2b08ecfff..a368c93af 100644 --- a/.github/workflows/auto-dependency-review.yml +++ b/.github/workflows/auto-dependency-review.yml @@ -11,4 +11,4 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/dependency-review@1.16.0 + - uses: taiga-family/ci/actions/security/dependency-review@1.20.0 diff --git a/.github/workflows/auto-remove-label.yml b/.github/workflows/auto-remove-label.yml index f383f5259..630d0048e 100644 --- a/.github/workflows/auto-remove-label.yml +++ b/.github/workflows/auto-remove-label.yml @@ -10,4 +10,4 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/auto-remove-label@1.16.0 + - uses: taiga-family/ci/actions/auto/remove-label@1.20.0 diff --git a/.github/workflows/auto-sync-submodule.yml b/.github/workflows/auto-sync-submodule.yml index 1c8dde0f8..fa3957fc4 100644 --- a/.github/workflows/auto-sync-submodule.yml +++ b/.github/workflows/auto-sync-submodule.yml @@ -11,13 +11,13 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/setup-git@1.16.0 + - uses: taiga-family/ci/actions/setup/config/git@1.20.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/git-sync-submodule@1.16.0 - - uses: taiga-family/ci/actions/git-status@1.16.0 + - uses: taiga-family/ci/actions/git/sync-submodule@1.20.0 + - uses: taiga-family/ci/actions/git/status@1.20.0 id: git - - uses: taiga-family/ci/actions/npm-install@1.16.0 + - uses: taiga-family/ci/actions/run/npm/install@1.20.0 if: steps.git.outputs.modified == 'true' - name: Create Pull Request if: steps.git.outputs.modified == 'true' diff --git a/.github/workflows/build-demo.yml b/.github/workflows/build-demo.yml index ba9b6d6e1..f9f57b2ef 100644 --- a/.github/workflows/build-demo.yml +++ b/.github/workflows/build-demo.yml @@ -12,8 +12,8 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/setup-node@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 - run: npm run build concurrency: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef36cab24..838a64882 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,8 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/setup-node@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 - run: npx nx build tui-editor concurrency: diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index be743ca90..7aadc05fc 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -9,8 +9,8 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/setup-node@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 - run: npx nx build editor-demo - name: Deploy preview uses: FirebaseExtended/action-hosting-deploy@v0 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bf8f4e43c..16bc91569 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,10 +10,10 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/setup-node@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 - run: npx nx build-gh-pages editor-demo - - uses: taiga-family/ci/actions/setup-deploy@1.16.0 + - uses: taiga-family/ci/actions/deploy/github-pages@1.20.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} folder: dist/demo/browser diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c2fcbac06..f87df0916 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,10 +14,10 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/rebase@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/run/rebase@1.20.0 continue-on-error: true - - uses: taiga-family/ci/actions/setup-node@1.16.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 - name: Building demo-app of git-branch without cache run: npx nx build editor-demo --output-path ${{ env.DIST }} @@ -35,8 +35,8 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/setup-node@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 - name: Download cache / ${{ env.CACHE_DIST_KEY }} uses: actions/cache/restore@v3.3.2 @@ -87,7 +87,7 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 - name: Download artifacts / ${{ env.SNAPSHOTS_CACHE_KEY }} continue-on-error: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4602a14a5..02581f8f9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,15 +12,12 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/setup-node@1.16.0 - - - name: Lint check - run: | - npm run typecheck - npm run prettier -- --check - npm run stylelint - npm run lint + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 + - run: npm run typecheck + - run: npm run prettier -- --check + - run: npm run stylelint + - run: npm run lint concurrency: group: lint-${{ github.head_ref }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8e2debf5..fdd8797be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,11 +30,11 @@ jobs: persist-credentials: false ref: ${{ github.head_ref }} token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/setup-node@1.16.0 - - uses: taiga-family/ci/actions/setup-git@1.16.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 + - uses: taiga-family/ci/actions/setup/config/git@1.20.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - - uses: taiga-family/ci/actions/setup-npm@1.16.0 + - uses: taiga-family/ci/actions/setup/config/npm@1.20.0 with: token: ${{ secrets.NPM_TOKEN }} @@ -47,20 +47,17 @@ jobs: npx lerna version --no-private fi - - name: Build - run: npx nx build tui-editor + - run: npx nx build tui-editor - - name: Publish + - run: npx nx publish tui-editor if: always() - run: npx nx publish tui-editor - - name: Get new version - id: info + - id: info run: | echo "version=@tinkoff/tui-editor@$(node -p "require('./libs/tui-editor/package.json').version")" >> $GITHUB_OUTPUT - name: Announce to Telegram - uses: taiga-family/ci/actions/telegram/announce@1.19.0 + uses: taiga-family/ci/actions/messenger/telegram/announce@1.20.0 with: chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }} topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }} diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index 98f7a2d0c..d6511de67 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -10,11 +10,10 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/setup-node@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 - run: npx nx build editor-demo - - name: Publish snapshots - uses: s0/git-publish-subdir-action@v2.6.0 + - uses: s0/git-publish-subdir-action@v2.6.0 env: REPO: self FOLDER: ${{ env.DIST }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d94b9eda3..8c11beb0e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,8 +13,8 @@ jobs: - uses: actions/checkout@v4.1.0 with: submodules: recursive - - uses: taiga-family/ci/actions/variables@1.16.0 - - uses: taiga-family/ci/actions/setup-node@1.16.0 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/setup/node@1.20.0 - run: npx nx test tui-editor - uses: codecov/codecov-action@v3.1.4 with: