Skip to content

Commit

Permalink
ci: upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 4, 2023
1 parent 36b10fb commit aa4efe3
Show file tree
Hide file tree
Showing 16 changed files with 39 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/project@1.20.0
- uses: taiga-family/ci/actions/setup/project@v1.22.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
4 changes: 2 additions & 2 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/auto/approve/double@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: taiga-family/ci/actions/auto/approve/double@v1.22.0
if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true'
with:
token1: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: toshimaru/[email protected]
if: env.IS_OWNER_MODE == 'true'
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-cleanup-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/auto/cleanup-cache@1.20.0
- uses: taiga-family/ci/actions/auto/cleanup-cache@v1.22.0
if: github.event_name == 'push'
with:
branch-name: ${{ github.head_ref || github.ref_name }}
- uses: taiga-family/ci/actions/auto/cleanup-cache@1.20.0
- uses: taiga-family/ci/actions/auto/cleanup-cache@v1.22.0
if: github.event_name == 'pull_request'
with:
branch-name: refs/pull/${{ github.event.pull_request.number }}/merge
2 changes: 1 addition & 1 deletion .github/workflows/auto-dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/security/dependency-review@1.20.0
- uses: taiga-family/ci/actions/security/dependency-review@v1.22.0
2 changes: 1 addition & 1 deletion .github/workflows/auto-remove-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/auto/remove-label@1.20.0
- uses: taiga-family/ci/actions/auto/remove-label@v1.22.0
8 changes: 4 additions & 4 deletions .github/workflows/auto-sync-submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/config/git@1.20.0
- uses: taiga-family/ci/actions/setup/config/git@v1.22.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- uses: taiga-family/ci/actions/git/sync-submodule@1.20.0
- uses: taiga-family/ci/actions/git/status@1.20.0
- uses: taiga-family/ci/actions/git/sync-submodule@v1.22.0
- uses: taiga-family/ci/actions/git/status@v1.22.0
id: git
- uses: taiga-family/ci/actions/run/npm/install@1.20.0
- uses: taiga-family/ci/actions/run/npm/install@v1.22.0
if: steps.git.outputs.modified == 'true'
- name: Create Pull Request
if: steps.git.outputs.modified == 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/setup/node@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: taiga-family/ci/actions/setup/node@v1.22.0
- run: npm run build

concurrency:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ jobs:
runs-on: ubuntu-latest
name: Build libs
steps:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/[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]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npx nx build tui-editor

concurrency:
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 @@ -9,8 +9,8 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/setup/node@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: taiga-family/ci/actions/setup/node@v1.22.0
- run: npx nx build editor-demo
- name: Deploy preview
uses: FirebaseExtended/action-hosting-deploy@v0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/setup/node@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: taiga-family/ci/actions/setup/node@v1.22.0
- run: npx nx build-gh-pages editor-demo
- uses: taiga-family/ci/actions/deploy/github-pages@1.20.0
- uses: taiga-family/ci/actions/deploy/github-pages@v1.22.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
folder: dist/demo/browser
Expand Down
12 changes: 6 additions & 6 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:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/run/rebase@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: taiga-family/ci/actions/run/rebase@v1.22.0
continue-on-error: true
- uses: taiga-family/ci/actions/setup/node@1.20.0
- uses: taiga-family/ci/actions/setup/node@v1.22.0

- name: Building demo-app of git-branch without cache
run: npx nx build editor-demo --output-path ${{ env.DIST }}
Expand All @@ -35,8 +35,8 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/setup/node@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: taiga-family/ci/actions/setup/node@v1.22.0

- name: Download cache / ${{ env.CACHE_DIST_KEY }}
uses: actions/cache/[email protected]
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0

- name: Download artifacts / ${{ env.SNAPSHOTS_CACHE_KEY }}
continue-on-error: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/setup/node@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: taiga-family/ci/actions/setup/node@v1.22.0
- run: npm run typecheck
- run: npm run prettier -- --check
- run: npm run stylelint
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.20.0
- uses: taiga-family/ci/actions/setup/config/git@1.20.0
- uses: taiga-family/ci/actions/setup/node@v1.22.0
- uses: taiga-family/ci/actions/setup/config/git@v1.22.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- uses: taiga-family/ci/actions/setup/config/npm@1.20.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.22.0
with:
token: ${{ secrets.NPM_TOKEN }}

Expand All @@ -57,7 +57,7 @@ jobs:
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/messenger/telegram/announce@1.20.0
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.22.0
with:
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }}
topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/variables@1.20.0
- uses: taiga-family/ci/actions/setup/node@1.20.0
- uses: taiga-family/ci/actions/setup/variables@v1.22.0
- uses: taiga-family/ci/actions/setup/node@v1.22.0
- run: npx nx build editor-demo
- uses: s0/[email protected]
env:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ jobs:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: taiga-family/ci/actions/setup/[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]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npx nx test tui-editor
- uses: codecov/[email protected]
with:
Expand Down

0 comments on commit aa4efe3

Please sign in to comment.