-
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.
chore: create .gitattributes chore: create release.config.js chore: create release-and-delivery.yml chore: add semantic release deps chore(deps): update dependency eslint to v8 chore(deps): update dependency eslint-plugin-vue to v9 chore: remove useless warning chore: add axios deps chore: create some sample components chore(deps): update dependency semantic-release-preconfigured-conventional-commits to v1.1.44 chore(deps): update dependency semantic-release-preconfigured-conventional-commits to v1.1.46 chore(deps): update some dependencies
- Loading branch information
1 parent
40934b7
commit ad1ed43
Showing
16 changed files
with
12,586 additions
and
5,385 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* text=auto eol=lf | ||
*.[cC][mM][dD] text eol=crlf | ||
*.[bB][aA][tT] text eol=crlf | ||
*.[pP][sS]1 text eol=crlf |
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,59 @@ | ||
name: Release & Delivery | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- '.gitignore' | ||
- '.mergify.yml' | ||
- 'CHANGELOG.md' | ||
- 'LICENSE' | ||
- 'README.md' | ||
- 'renovate.json' | ||
pull_request: | ||
|
||
jobs: | ||
release-and-delivery: | ||
concurrency: | ||
# Allow only one release at a time. | ||
group: release-and-delivery-${{ github.event.number || github.ref }} | ||
runs-on: ubuntu-latest | ||
outputs: | ||
release-status: ${{ env.release_status }} | ||
# Release only where secrets are available. | ||
if: >- | ||
!github.event.repository.fork | ||
&& ( | ||
github.event_name != 'pull_request' | ||
|| github.event.pull_request.head.repo.full_name == github.repository | ||
) | ||
steps: | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "lts/*" | ||
- name: Release and container delivery | ||
uses: SmartOperatingBlock/release-and-delivery-action@1.0.3 | ||
with: | ||
should-release: true | ||
release-command: | | ||
npm install | ||
npx semantic-release | ||
should-build-and-deliver-container: true | ||
container-registry-name: 'ghcr.io' | ||
container-registry-username: ${{ github.actor }} | ||
container-registry-password: ${{ secrets.GITHUB_TOKEN }} | ||
github-token: ${{ secrets.DEPLOYMENT_TOKEN }} | ||
|
||
|
||
success: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- release-and-delivery | ||
if: >- | ||
always() && ( | ||
contains(join(needs.*.result, ','), 'failure') | ||
|| !contains(join(needs.*.result, ','), 'cancelled') | ||
) | ||
steps: | ||
- name: Verify that there were no failures | ||
run: ${{ !contains(join(needs.*.result, ','), 'failure') }} |
Oops, something went wrong.