generated from Tinkoff/angular-open-source-starter
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Showing
26 changed files
with
180 additions
and
174 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
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,6 +7,6 @@ jobs: | |
automate-project-columns: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
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,8 +8,8 @@ jobs: | |
pull-requests: write | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true' | ||
with: | ||
token1: ${{ secrets.GITHUB_TOKEN }} | ||
|
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,7 +9,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Auto assign | ||
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 |
---|---|---|
|
@@ -13,11 +13,11 @@ jobs: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
if: github.event_name == 'push' | ||
with: | ||
branch-name: ${{ github.head_ref || github.ref_name }} | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
if: github.event_name == 'pull_request' | ||
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].2 |
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,8 +7,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
- uses: taiga-family/ci/actions/[email protected].2 | ||
with: | ||
approvals: 1 | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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,4 +8,4 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/[email protected].0 | ||
- uses: taiga-family/ci/actions/[email protected].2 |
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: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Build packages | ||
run: npx nx run-many --target build --all --exclude=demo | ||
|
@@ -24,7 +24,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Build demo application for Github Pages | ||
run: npx nx build-gh-pages | ||
|
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 |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run release | ||
id: run-release | ||
|
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: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- run: npm run build | ||
|
||
|
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: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Build demo | ||
run: npx nx build-gh-pages | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
fetch-depth: 10 | ||
|
||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Mark demo-app directory for persist in cache | ||
uses: actions/cache@v3 | ||
|
@@ -45,7 +45,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Download demo build from cache | ||
uses: actions/cache@v3 | ||
|
@@ -71,7 +71,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Download demo build from cache | ||
uses: actions/cache@v3 | ||
|
@@ -95,7 +95,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Download demo build from cache | ||
uses: actions/cache@v3 | ||
|
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: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Typecheck | ||
run: npm run typecheck | ||
|
@@ -19,7 +19,7 @@ jobs: | |
- uses: actions/[email protected] | ||
|
||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run cspell | ||
run: npm run cspell -- --no-progress | ||
|
@@ -29,7 +29,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup global variables | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- uses: actions/checkout@v4 | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
|
@@ -38,21 +38,21 @@ jobs: | |
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run prettier | ||
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].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
stylelint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup global variables | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- uses: actions/checkout@v4 | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
|
@@ -61,21 +61,21 @@ jobs: | |
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run stylelint | ||
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].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup global variables | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- uses: actions/checkout@v4 | ||
if: env.SUPPORT_AUTO_PUSH == 'true' | ||
|
@@ -84,14 +84,14 @@ jobs: | |
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run eslint | ||
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].0 | ||
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Build publishable libraries | ||
run: npx nx run-many --target build --all --exclude=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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js and Cache | ||
uses: taiga-family/ci/actions/[email protected].0 | ||
uses: taiga-family/ci/actions/[email protected].2 | ||
|
||
- name: Run tests | ||
run: npx nx run-many --target test --all --coverage | ||
|
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
Oops, something went wrong.