-
Notifications
You must be signed in to change notification settings - Fork 463
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
splincode
committed
Aug 8, 2023
1 parent
0d6c6c8
commit d27c65f
Showing
16 changed files
with
46 additions
and
46 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 |
---|---|---|
|
@@ -13,4 +13,4 @@ jobs: | |
- uses: taiga-family/ci/actions/[email protected] | ||
with: | ||
token1: ${{ secrets.GITHUB_TOKEN }} | ||
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} | ||
token2: ${{ secrets.TINKOFF_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,6 +11,6 @@ jobs: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
with: | ||
branch-name: refs/pull/${{ github.event.pull_request.number }}/merge |
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: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Label when approved | ||
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 |
---|---|---|
|
@@ -9,15 +9,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- uses: actions/[email protected] | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.TINKOFF_BOT_PAT }} | ||
|
||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- run: | | ||
npx nx prebuild icons | ||
npx nx build icons | ||
|
@@ -28,6 +28,6 @@ jobs: | |
- name: Auto update bundled & used icons | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
uses: taiga-family/ci/actions/[email protected].1 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
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/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run build libraries and check it | ||
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 |
---|---|---|
|
@@ -11,8 +11,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- 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 |
---|---|---|
|
@@ -32,8 +32,8 @@ jobs: | |
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.TINKOFF_BOT_PAT }} | ||
|
||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run release | ||
id: run-release | ||
|
@@ -105,7 +105,7 @@ jobs: | |
|
||
- name: Announce | ||
if: ${{ env.IS_DRY_MODE == 'true' }} | ||
uses: taiga-family/ci/actions/[email protected].1 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
with: | ||
version: ${{ steps.run-release.outputs.new_version }} | ||
url: ${{ secrets.ANNOUNCE_WEBHOOK_TEST }} | ||
|
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/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- 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/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- 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 |
---|---|---|
|
@@ -17,10 +17,10 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 10 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
continue-on-error: true | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Building demo-app of git-branch without cache | ||
run: npx nx build demo -c next --output-path ${{ env.DIST }} --base-href='/' | ||
|
@@ -61,8 +61,8 @@ jobs: | |
name: ${{ matrix.project }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Download cache / ${{ env.CACHE_DIST_KEY }} | ||
uses: actions/cache/[email protected] | ||
|
@@ -114,8 +114,8 @@ jobs: | |
needs: [build-demo] | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Install Playwright Browsers | ||
run: npx playwright install --with-deps | ||
|
@@ -179,7 +179,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Download artifacts / ${{ env.CYPRESS_SNAPSHOTS_ARTIFACTS_KEY }} | ||
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 |
---|---|---|
|
@@ -10,77 +10,77 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- run: npm run typecheck | ||
|
||
cspell: | ||
if: ${{ !contains(github.head_ref, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- run: npm run cspell -- --no-progress | ||
|
||
prettier: | ||
if: ${{ !contains(github.head_ref, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- uses: actions/[email protected] | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.TINKOFF_BOT_PAT }} | ||
|
||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- run: npm run prettier ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --write' || '-- --check' }} | ||
|
||
- name: Apply changes after linting | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
uses: taiga-family/ci/actions/[email protected].1 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
stylelint: | ||
if: ${{ !contains(github.head_ref, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- uses: actions/[email protected] | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.TINKOFF_BOT_PAT }} | ||
|
||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- run: npm run stylelint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} | ||
|
||
- name: Apply changes after linting | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
uses: taiga-family/ci/actions/[email protected].1 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
eslint: | ||
if: ${{ !contains(github.head_ref, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- uses: actions/[email protected] | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.TINKOFF_BOT_PAT }} | ||
|
||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
# - run: npm run lint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} | ||
|
||
- name: Apply changes after linting | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
uses: taiga-family/ci/actions/[email protected].1 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
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 |
---|---|---|
|
@@ -14,8 +14,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- run: npx ts-node ./scripts/publish-canary.ts | ||
|
||
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 |
---|---|---|
|
@@ -11,8 +11,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Build publishable libraries | ||
run: npm run run-many:build:libs | ||
|
@@ -25,7 +25,7 @@ jobs: | |
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT | ||
|
||
- name: Announce | ||
uses: taiga-family/ci/actions/[email protected].1 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
with: | ||
version: ${{ steps.info.outputs.version }} | ||
url: ${{ secrets.ANNOUNCE_WEBHOOK }} | ||
|
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,8 +10,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- run: npx nx build demo -c next --output-path ${{ env.DIST }}/next | ||
- run: tree ${{ env.DIST }} -P '*.html' | ||
|
@@ -29,8 +29,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
id: nodejs-workspace | ||
|
||
- run: npx nx build demo --configuration production | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ jobs: | |
name: ${{ matrix.project }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run tests for ${{ matrix.project }} | ||
run: npx nx test ${{ matrix.project }} --skip-nx-cache | ||
|
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,7 +11,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- uses: taiga-family/ci/actions/[email protected].1 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
id: nodejs-workspace | ||
|
||
- name: Get last tag | ||
|