Skip to content

Commit

Permalink
chore(release): replace releaseplease with nx
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Jun 7, 2024
1 parent b19cd15 commit 19e7393
Show file tree
Hide file tree
Showing 25 changed files with 6,992 additions and 3,680 deletions.
95 changes: 0 additions & 95 deletions .github/workflows/ci_job.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/ci_release-please.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release
run-name: Release ${{ inputs.package }}${{ inputs.dry-run && ' (dry-run)' || '' }}

on:
workflow_dispatch:
inputs:
package:
description: Package
required: true
type: choice
options:
- core
- list-loader
- message-box
- numeric-stepper
- overlay
- snackbar
- splitter
- status
- time-picker
- tooltip
dry-run:
description: --dry-run
type: boolean
default: false

env:
HUSKY: 0

jobs:
ci_release:
uses: dsi-hug/action/.github/workflows/action.yml@v1
secrets:
RELEASE_NPM_TOKEN: ${{ secrets.DSI_HUG_NPM_TOKEN }}
RELEASE_GITHUB_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
with:
working-directory: 'projects/${{ inputs.package }}'
dry-run: ${{ inputs.dry-run }}
release: true
4 changes: 2 additions & 2 deletions .github/workflows/ci_test_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
push:
branches:
- '**'
- '!release-please--branches--main'
tags-ignore:
- '**'
paths:
- '.github/workflows/ci_test_core.yml'
- 'projects/core/**'

concurrency:
Expand All @@ -17,7 +17,7 @@ concurrency:

jobs:
ci_test_core:
uses: ./.github/workflows/ci_job.yml
uses: dsi-hug/action/.github/workflows/action.yml@v1
with:
working-directory: projects/core
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_test_list-loader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
push:
branches:
- '**'
- '!release-please--branches--main'
tags-ignore:
- '**'
paths:
- '.github/workflows/ci_test_list-loader.yml'
- 'projects/list-loader/**'

concurrency:
Expand All @@ -17,7 +17,7 @@ concurrency:

jobs:
ci_test_list-loader:
uses: ./.github/workflows/ci_job.yml
uses: dsi-hug/action/.github/workflows/action.yml@v1
with:
working-directory: projects/list-loader
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_test_message-box.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
push:
branches:
- '**'
- '!release-please--branches--main'
tags-ignore:
- '**'
paths:
- '.github/workflows/ci_test_message-box.yml'
- 'projects/message-box/**'

concurrency:
Expand All @@ -17,7 +17,7 @@ concurrency:

jobs:
ci_test_message-box:
uses: ./.github/workflows/ci_job.yml
uses: dsi-hug/action/.github/workflows/action.yml@v1
with:
working-directory: projects/message-box
runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ yarn-error.log

# Miscellaneous
/.angular/cache
/.nx/cache
/.nx
.sass-cache/
/connect.lock
/coverage
Expand Down
12 changes: 0 additions & 12 deletions .releaseplease.manifest.json

This file was deleted.

27 changes: 0 additions & 27 deletions .releasepleaserc.json

This file was deleted.

Loading

0 comments on commit 19e7393

Please sign in to comment.