-
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.
- Loading branch information
mivanov4tcs
committed
Oct 7, 2023
1 parent
839fe33
commit 0f91723
Showing
20 changed files
with
51 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ jobs: | |
outputs: | ||
matrix: ${{ steps.matrix.outputs.value }} | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected].19 | ||
- id: matrix | ||
if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true' | ||
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' | ||
run: | | ||
if [[ "${{ env.IS_RELEASE_BRANCH }}" == "false" ]]; then | ||
echo "value=$PR_JOBS_NAME" >> $GITHUB_OUTPUT | ||
|
@@ -30,7 +30,7 @@ jobs: | |
matrix: | ||
value: ${{ fromJSON(needs.setup.outputs.matrix) }} | ||
steps: | ||
- uses: taiga-family/ci/actions/run/[email protected].0 | ||
- uses: taiga-family/ci/actions/run/[email protected].19 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
job: ${{ matrix.value }} | ||
|
@@ -39,13 +39,13 @@ jobs: | |
needs: [wait] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/[email protected].0 | ||
- uses: taiga-family/ci/actions/auto/approve/[email protected].0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected].19 | ||
- uses: taiga-family/ci/actions/auto/approve/[email protected].19 | ||
with: | ||
token1: ${{ secrets.GITHUB_TOKEN }} | ||
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} | ||
- uses: taiga-family/ci/actions/run/[email protected].0 | ||
- uses: taiga-family/ci/actions/run/[email protected].19 | ||
if: env.IS_RELEASE_BRANCH == 'false' | ||
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
name: PR author as an assignee | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: toshimaru/[email protected] | ||
if: env.IS_OWNER_MODE == '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 |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/auto/[email protected] | ||
if: github.event_name == 'push' | ||
with: | ||
|
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,5 +8,5 @@ jobs: | |
dependency-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/security/[email protected] |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ jobs: | |
name: Label when approved | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/auto/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -7,5 +7,5 @@ jobs: | |
remove_label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/auto/[email protected] |
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,20 +8,15 @@ jobs: | |
if: ${{ !contains(github.head_ref , 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: actions/[email protected] | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
- 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 prebuild icons | ||
npx nx build icons | ||
npx ts-node ./scripts/generate-used-icons.ts | ||
npx eslint ./projects/cdk/constants/used-icons.ts --fix | ||
npx prettier ./projects/cdk/constants/used-icons.ts --write | ||
- uses: taiga-family/ci/actions/auto/[email protected] | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
- uses: taiga-family/ci/actions/auto/[email protected] | ||
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
name: Build packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npm run run-many:build:libs | ||
|
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,7 +10,7 @@ jobs: | |
if: ${{ !contains(github.head_ref, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npx nx build demo | ||
|
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: | |
contents: read | ||
security-events: write | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/security/[email protected] | ||
|
||
concurrency: | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
IS_DRY_MODE: ${{ github.event.inputs.dryRun == 'true' }} | ||
IS_RRE_RELEASE_MODE: ${{ contains(github.event.inputs.mode, 'prerelease') }} | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
if: ${{ !contains(github.event.workflow_run.head_branch, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
- name: Prepare demo before deploy from snapshots | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ jobs: | |
name: Firebase | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npx nx build demo --base-href='/' | ||
|
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: | |
name: Build demo | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
with: | ||
fetch-depth: 10 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
@@ -41,7 +41,7 @@ jobs: | |
[addon-doc, addon-charts, addon-commerce, addon-mobile, addon-table, addon-tablebars, icons, core, deep, kit] | ||
name: ${{ matrix.project }} | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
|
@@ -101,7 +101,7 @@ jobs: | |
shard: [1, 2, 3] | ||
name: playwright / (${{ matrix.shard }} of 3) | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
|
@@ -171,7 +171,7 @@ jobs: | |
needs: [cypress, playwright] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
- name: Download artifacts / ${{ env.CYPRESS_SNAPSHOTS_ARTIFACTS_KEY }} | ||
|
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,21 +10,26 @@ jobs: | |
if: ${{ !contains(github.head_ref, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: actions/[email protected] | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
- 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: npm run typecheck | ||
- run: npm run cspell -- --no-progress | ||
- run: npm run prettier ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --write' || '-- --check' }} | ||
- run: npm run stylelint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} | ||
- run: npm run lint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} | ||
- run: | | ||
if [[ "${{ env.SUPPORT_AUTO_PUSH }}" == "true" ]]; then | ||
npm run prettier -- --write | ||
npm run stylelint -- --fix | ||
npm run lint -- --fix | ||
else | ||
npm run prettier -- --check | ||
npm run stylelint | ||
npm run lint | ||
fi | ||
- name: Apply changes after linting | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
uses: taiga-family/ci/actions/auto/[email protected] | ||
uses: taiga-family/ci/actions/auto/[email protected] | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
concurrency: | ||
group: lint-${{ github.workflow }}-${{ github.ref }} | ||
|
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,7 +10,7 @@ jobs: | |
name: Packages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- 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] | ||
|
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: | |
name: Publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- 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] | ||
|
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,7 +10,7 @@ jobs: | |
name: next | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
|
@@ -29,7 +29,7 @@ jobs: | |
name: production | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
id: nodejs-workspace | ||
|
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
] | ||
name: ${{ matrix.project }} | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
- name: Run tests for ${{ matrix.project }} | ||
|
@@ -45,7 +45,7 @@ jobs: | |
needs: [test] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.29.19 | ||
- uses: actions/[email protected] | ||
with: | ||
name: coverage-${{ github.workflow }}-${{ github.run_id }} | ||
|
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