Skip to content

Commit

Permalink
ci: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Sep 16, 2024
1 parent 5835f56 commit b278a8a
Show file tree
Hide file tree
Showing 9 changed files with 1,049 additions and 1,171 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- 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 ts-node .scripts/validate-version.ts
- run: npx nx build editor

concurrency:
Expand Down
22 changes: 5 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ name: ⚠️ Release
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
description: Bump version as requested
required: true
options:
- patch
- minor
Expand Down Expand Up @@ -39,18 +34,11 @@ jobs:
with:
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}

- run: git pull --rebase --recurse-submodules
- run: npx ts-node .scripts/validate-version.ts

- run: |
if [[ "${{ github.event.inputs.forcePush }}" == "true" ]]; then
if [[ "${{ github.event.inputs.mode }}" != "prerelease" ]]; then
npx release-it "${{ github.event.inputs.mode }}" --increment --ci --github.release
else
npx release-it --preRelease=alpha --ci
fi
if [[ "${{ github.event.inputs.mode }}" != "prerelease" ]]; then
npx release-it "${{ github.event.inputs.mode }}" --increment --ci --github.release
else
npx release-it --increment --ci --github.release
npx release-it --preRelease=alpha --ci
fi
- id: info
Expand Down
1 change: 1 addition & 0 deletions .release-it.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@taiga-ui/release-it-config');
28 changes: 0 additions & 28 deletions .release-it.json

This file was deleted.

4 changes: 0 additions & 4 deletions .scripts/tsconfig.tools.json

This file was deleted.

10 changes: 0 additions & 10 deletions .scripts/validate-version.ts

This file was deleted.

Loading

0 comments on commit b278a8a

Please sign in to comment.