-
Notifications
You must be signed in to change notification settings - Fork 0
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
235 changed files
with
45,381 additions
and
49,837 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["github>taiga-family/renovate-config"], | ||
"ignorePaths": ["libs/**/package.json"] | ||
} |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
- 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 | ||
- run: npx nx run-many -t build --all | ||
- run: npx nx run-many -t test --all | ||
- uses: codecov/codecov-action@v4 | ||
- uses: taiga-family/ci/actions/auto/[email protected] | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
concurrency: | ||
group: ci-${{ github.head_ref }} | ||
cancel-in-progress: 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,49 +1,26 @@ | ||
name: Release | ||
|
||
env: | ||
NX_BRANCH: ${{ github.event.number }} | ||
NX_RUN_GROUP: ${{ github.run_id }} | ||
name: ⚠️ Release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
mode: | ||
type: choice | ||
description: Bump version as requested | ||
required: true | ||
options: | ||
- minor | ||
- patch | ||
- major | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, 'chore(release)')" | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/config/[email protected] | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
- run: npm run release | ||
env: | ||
CI: true | ||
GH_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npx nx run-many --target test --all --coverage --coverageReporters lcov | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: coverage | ||
path: | | ||
coverage | ||
- run: echo "::set-output name=projectMatrix::$(npx nx print-affected --target test --select tasks.target.project --all)" | ||
id: set-project-matrix | ||
- uses: actions/github-script@v7 | ||
id: parsed-project-matrix | ||
env: | ||
PROJECTS: '${{ steps.set-project-matrix.outputs.projectMatrix }}' | ||
with: | ||
script: | | ||
return process.env.PROJECTS.split(',').map(p => './coverage/' + p.trim() + '/lcov.info').join(','); | ||
- uses: codecov/codecov-action@v4 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/run/[email protected] | ||
with: | ||
files: ${{ steps.parsed-project-matrix.outputs.result }} | ||
ref: ${{ github.ref }} | ||
mode: ${{ github.event.inputs.mode }} | ||
npmToken: ${{ secrets.NPM_TOKEN }} | ||
githubToken: ${{ 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
npx lint-staged |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.