This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
-
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
12 changed files
with
21,710 additions
and
8,541 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 |
---|---|---|
|
@@ -9,11 +9,13 @@ jobs: | |
ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: taiga-family/ci/actions/setup/checkout@v1.32.0 | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npm run build | ||
- run: npm run lint | ||
- run: npm run check | ||
- run: npm run prettier -- --check | ||
- run: npm run build | ||
env: | ||
NODE_OPTIONS: --openssl-legacy-provider | ||
- run: npm run test | ||
env: | ||
NODE_OPTIONS: --openssl-legacy-provider | ||
|
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,65 @@ | ||
name: ⚠️ Release @tinkoff/tui-editor | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
forcePush: | ||
type: boolean | ||
required: false | ||
description: --force-publish package | ||
mode: | ||
type: choice | ||
description: force package to be versioned (depend --force-publish) | ||
required: false | ||
default: minor | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
|
||
jobs: | ||
run-release: | ||
name: Run release | ||
runs-on: ubuntu-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/config/[email protected] | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
- uses: taiga-family/ci/actions/setup/config/[email protected] | ||
with: | ||
token: ${{ secrets.TINKOFF_SCOPE_NPM_TOKEN }} | ||
|
||
- name: Lerna update version of packages | ||
if: always() | ||
run: | | ||
if [[ ${{ github.event.inputs.forcePush }} == "true" ]]; then | ||
npx lerna version ${{ github.event.inputs.mode }} --no-private --force-publish | ||
else | ||
npx lerna version --no-private | ||
fi | ||
- run: npx nx build angular-contenteditable-accessor | ||
|
||
- run: npx nx publish angular-contenteditable-accessor | ||
if: always() | ||
|
||
- id: info | ||
run: | | ||
echo "version=@tinkoff/angular-contenteditable-accessor@$(node -p "require('./projects/angular-contenteditable-accessor/package.json').version")" >> $GITHUB_OUTPUT | ||
- name: Announce to Telegram | ||
uses: taiga-family/ci/actions/messenger/telegram/[email protected] | ||
with: | ||
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }} | ||
topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }} | ||
token: ${{ secrets.TAIGA_TELEGRAM_BOT_TOKEN }} | ||
version: ${{ steps.info.outputs.version }} | ||
|
||
concurrency: | ||
group: release-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true |
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,33 @@ | ||
{ | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"version": "independent", | ||
"packages": ["projects/*"], | ||
"concurrency": 1, | ||
"stream": true, | ||
"npmClient": "npm", | ||
"changelog": true, | ||
"private": false, | ||
"conventionalCommits": true, | ||
"ignoreChanges": [ | ||
"**/node_modules/**", | ||
"**/dist/**", | ||
"**/tests/**", | ||
"**/*.spec.ts", | ||
"**/.github/**", | ||
"**/CHANGELOG.md", | ||
"**/project.json", | ||
"**/ng-packages.json" | ||
], | ||
"command": { | ||
"version": { | ||
"allowBranch": "main", | ||
"commitHooks": false, | ||
"createRelease": "github" | ||
}, | ||
"publish": { | ||
"yes": true, | ||
"registry": "https://registry.npmjs.org", | ||
"message": "chore(release): publish @tinkoff/angular-contenteditable-accessor" | ||
} | ||
} | ||
} |
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,37 @@ | ||
{ | ||
"npmScope": "angular-contenteditable-accessor", | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx-cloud", | ||
"options": { | ||
"parallel": 1, | ||
"cacheableOperations": ["build", "test", "lint"] | ||
} | ||
} | ||
}, | ||
"affected": { | ||
"defaultBase": "origin/main" | ||
}, | ||
"workspaceLayout": { | ||
"libsDir": "projects", | ||
"appsDir": "projects" | ||
}, | ||
"defaultProject": "demo", | ||
"$schema": "./node_modules/nx/schemas/nx-schema.json", | ||
"namedInputs": { | ||
"default": ["{projectRoot}/**/*", "sharedGlobals"], | ||
"sharedGlobals": [ | ||
"{workspaceRoot}/nx.json", | ||
"{workspaceRoot}/tsconfig.*.json", | ||
"{workspaceRoot}/tsconfig.json" | ||
] | ||
}, | ||
"targetDefaults": { | ||
"build": { | ||
"inputs": ["default"] | ||
}, | ||
"test": { | ||
"inputs": ["default"] | ||
} | ||
} | ||
} |
Oops, something went wrong.