diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3ca9618 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,19 @@ +version: 2 +updates: + - package-ecosystem: 'npm' # See documentation for possible values + directory: '/' # Location of package manifests + rebase-strategy: auto + commit-message: + prefix: 'fix' + include: scope + schedule: + interval: 'weekly' + + - package-ecosystem: 'github-actions' + directory: '/' + rebase-strategy: auto + commit-message: + prefix: 'fix' + include: scope + schedule: + interval: 'weekly' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f744c1e..1634115 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,13 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + publish_release: + runs-on: ubuntu-latest + needs: [build, create_release] + steps: + - name: Setup awesome-ci + uses: fullstack-devops/awesome-ci-action@main + - name: Publish release run: awesome-ci release publish --release-id "${{ needs.create_release.outputs.release-id }}" env: diff --git a/README.md b/README.md index 8df9073..df08c08 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![npm version](https://badge.fury.io/js/%40fullstack-devops%2Fng-mat-components.svg)](https://www.npmjs.com/package/@fullstack-devops/ng-mat-components) +[![Build and Release Package](https://github.com/fullstack-devops/ng-mat-components/actions/workflows/release.yml/badge.svg)](https://github.com/fullstack-devops/ng-mat-components/actions/workflows/release.yml) + # ng-mat-components Components for @angular/material diff --git a/package.json b/package.json index ab4a197..6fe65de 100644 --- a/package.json +++ b/package.json @@ -40,11 +40,11 @@ }, "devDependencies": { "@angular-devkit/build-angular": "^14.2.10", - "@angular-eslint/builder": "14.4.0", - "@angular-eslint/eslint-plugin": "14.4.0", - "@angular-eslint/eslint-plugin-template": "14.4.0", - "@angular-eslint/schematics": "14.4.0", - "@angular-eslint/template-parser": "14.4.0", + "@angular-eslint/builder": "^14.4.0", + "@angular-eslint/eslint-plugin": "^14.4.0", + "@angular-eslint/eslint-plugin-template": "^14.4.0", + "@angular-eslint/schematics": "^14.4.0", + "@angular-eslint/template-parser": "^14.4.0", "@angular/cli": "^14.2.10", "@angular/compiler-cli": "^14.2.12", "@types/jasmine": "~3.10.0", @@ -65,4 +65,4 @@ "sass": "^1.57.1", "typescript": "~4.8.4" } -} \ No newline at end of file +}