Skip to content

Commit

Permalink
ci: fix canary (#7455)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored May 16, 2024
1 parent e467baa commit 54036bd
Show file tree
Hide file tree
Showing 19 changed files with 73 additions and 70 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
outputs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- id: matrix
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
run: |
Expand All @@ -30,7 +30,7 @@ jobs:
matrix:
value: ${{ fromJSON(needs.setup.outputs.matrix) }}
steps:
- uses: taiga-family/ci/actions/run/wait-job@v1.56.3
- uses: taiga-family/ci/actions/run/wait-job@v1.57.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: ${{ matrix.value }}
Expand All @@ -39,13 +39,13 @@ jobs:
needs: [wait]
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/auto/approve/double@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/auto/approve/double@v1.57.0
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
- uses: taiga-family/ci/actions/run/merge@v1.56.3
- uses: taiga-family/ci/actions/run/merge@v1.57.0
if: env.IS_RELEASE_BRANCH == 'false'
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: PR author as an assignee
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: toshimaru/[email protected]
if: env.IS_OWNER_MODE == 'true'
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/security/dependency-review@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/security/dependency-review@v1.57.0
6 changes: 3 additions & 3 deletions .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
name: Label when approved
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/auto/label-when-approved@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/auto/label-when-approved@v1.57.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/auto-remove-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ jobs:
remove_label:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/auto/remove-label@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/auto/remove-label@v1.57.0
8 changes: 4 additions & 4 deletions .github/workflows/auto-update-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
if: ${{ !contains(github.head_ref , 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: |
npx nx prebuild icons
npx nx build icons
Expand All @@ -19,7 +19,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.56.3
- uses: taiga-family/ci/actions/auto/push@v1.57.0
with:
message: icons have changed
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Build packages
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: npm run run-many:build:libs
- run: npx ts-node ./scripts/check-dist.ts

Expand All @@ -21,9 +21,9 @@ jobs:
name: Prerender of demo application
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: npx nx prerender demo
- run: tree ${{ env.DIST }} -P '*.html'
- name: Bundle size tracking
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
contents: read
security-events: write
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/security/codeql@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/security/codeql@v1.57.0

concurrency:
group: codeql-${{ github.workflow }}-${{ github.ref }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
IS_DRY_MODE: ${{ github.event.inputs.dryRun == 'true' }}
IS_RRE_RELEASE_MODE: ${{ contains(github.event.inputs.mode, 'prerelease') }}
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
with:
fetch-depth: 0
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/config/git@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- uses: taiga-family/ci/actions/setup/config/git@v1.57.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
if: ${{ !contains(github.event.workflow_run.head_branch, 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0

- name: Prepare demo before deploy from snapshots
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
name: Firebase
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: npx nx build demo --base-href='/'
- name: Debug output
run: tree dist/demo/browser -P '*.html'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
name: Component testing result
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: npx tsc -p projects/demo-cypress/tsconfig.json
- run: npx nx component-test demo-cypress

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/e2e-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
name: Build demo
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
with:
fetch-depth: 10
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/run/rebase@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/run/rebase@v1.57.0
continue-on-error: true
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.57.0

- run: npx tsc -p tsconfig.playwright.json

Expand All @@ -38,9 +38,9 @@ jobs:
shardTotal: [8]
name: playwright / (${{ matrix.shardIndex }} of ${{ matrix.shardTotal }})
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0

- name: Install Playwright Browsers
run: |
Expand Down Expand Up @@ -111,8 +111,8 @@ jobs:
needs: [playwright]
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0

- name: Download artifacts / ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }}
continue-on-error: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
if: ${{ !contains(github.head_ref, 'release/') }}
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: npm run typecheck
- run: npm run cspell -- --no-progress
- run: |
Expand All @@ -25,7 +25,7 @@ jobs:
npm run stylelint
npm run lint
fi
- uses: taiga-family/ci/actions/auto/push@v1.56.3
- uses: taiga-family/ci/actions/auto/push@v1.57.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ jobs:
name: Packages
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
with:
ref: v3.x
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/config/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
with:
node-version: '18.x'
validate-peer-deps: 'false'
- uses: taiga-family/ci/actions/setup/config/[email protected]
with:
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}
- run: npm run run-many:build:libs
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
env:
NX_SKIP_NX_CACHE: true
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
with:
fetch-depth: 0
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/config/npm@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.57.0
with:
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}

Expand All @@ -30,14 +30,14 @@ jobs:
run: echo "version=v$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT

- name: Announce to Time messenger
uses: taiga-family/ci/actions/messenger/time/announce@v1.56.3
uses: taiga-family/ci/actions/messenger/time/announce@v1.57.0
with:
url: ${{ secrets.ANNOUNCE_WEBHOOK }}
channel: ${{ secrets.ANNOUNCE_TARGET }}
version: ${{ steps.info.outputs.version }}

- name: Announce to Telegram messenger
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.56.3
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.57.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/schematics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
name: Run the latest migration
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: npx nx run cdk:schematics --v=4

concurrency:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
snapshots:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: npx nx build demo
- run: tree ${{ env.DIST }} -P '*.html'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
name: Unit tests
steps:
- uses: taiga-family/ci/actions/setup/checkout@v1.56.3
- uses: taiga-family/ci/actions/setup/variables@v1.56.3
- uses: taiga-family/ci/actions/setup/node@v1.56.3
- uses: taiga-family/ci/actions/setup/checkout@v1.57.0
- uses: taiga-family/ci/actions/setup/variables@v1.57.0
- uses: taiga-family/ci/actions/setup/node@v1.57.0
- run: npx tsc --project tsconfig.spec.json
- run: npx nx run-many -t test --output-style=stream --nxBail
- run: tree -L 2 ./coverage -P 'lcov.info'
Expand Down

0 comments on commit 54036bd

Please sign in to comment.