Skip to content

build(deps): update all non-major dependencies (#362) #302

build(deps): update all non-major dependencies (#362)

build(deps): update all non-major dependencies (#362) #302

Workflow file for this run

---
name: Build Main
"on":
push:
branches: [main]
env:
# renovate: datasource=npm depName=@semantic-release/changelog
SEMANTIC_RELEASE_CHANGELOG_VERSION: 6.0.3
# renovate: datasource=npm depName=@semantic-release/git
SEMANTIC_RELEASE_GIT_VERSION: 10.0.1
# renovate: datasource=npm depName=conventional-changelog-conventionalcommits
CONVENTIONAL_CHANGELOG_CONVENTIONALCOMMITS_VERSION: 7.0.2
jobs:
lint:
name: Lint
uses: ./.github/workflows/lint.yml
with:
continue-on-error: true
test:
name: Test
uses: ./.github/workflows/test.yml
with:
continue-on-error: true
release:
name: Release
runs-on: ubuntu-latest
concurrency: ${{ github.workflow }}-release
outputs:
release-published: ${{ steps.release.outputs.new_release_published }}
release-version: ${{ steps.release.outputs.new_release_version }}
steps:
- name: Checkout
# yamllint disable-line rule:line-length
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
persist-credentials: false
- name: Release
id: release
# yamllint disable-line rule:line-length
uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4 # v4.0.0
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
GIT_AUTHOR_NAME: aki-bot[bot]
GIT_AUTHOR_EMAIL: 103840025+aki-bot[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: aki-bot[bot]
GIT_COMMITTER_EMAIL: 103840025+aki-bot[bot]@users.noreply.github.com
with:
# renovate: datasource=npm depName=semantic-release
semantic_version: 19.0.5
extra_plugins:
"@semantic-release/changelog@\
${{ env.SEMANTIC_RELEASE_CHANGELOG_VERSION }} \
@semantic-release/git@\
${{ env.SEMANTIC_RELEASE_GIT_VERSION }} \
conventional-changelog-conventionalcommits@\
${{ env.CONVENTIONAL_CHANGELOG_CONVENTIONALCOMMITS_VERSION }}"
deploy-to-prod:
name: Deploy to prod
needs: release
if: needs.release.outputs.release-published == 'true'
uses: ./.github/workflows/deploy.yml
with:
environment: prod
version: v${{ needs.release.outputs.release-version }}
secrets:
ANSIBLE_SSH_PRIVATE_KEY: ${{ secrets.ANSIBLE_SSH_PRIVATE_KEY }}
ANSIBLE_VAULT_PASSWORD_PROD: ${{ secrets.ANSIBLE_VAULT_PASSWORD_PROD }}