Skip to content

chore(deps): update bfra-me/renovate-action action to v2.1.30 (#93) #266

chore(deps): update bfra-me/renovate-action action to v2.1.30 (#93)

chore(deps): update bfra-me/renovate-action action to v2.1.30 (#93) #266

Workflow file for this run

---
name: CI
'on':
push:
branches: [main]
pull_request:
types: [opened, reopened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
cache: yarn
node-version-file: package.json
- run: yarn install --immutable
- name: Check formatting
run: yarn prettier --check .
- run: yarn test
release:
env:
DRY_RUN: ${{ github.ref_name != github.event.repository.default_branch }}
name: Release
needs: test
runs-on: ubuntu-latest
steps:
- id: get-workflow-access-token
name: Get Workflow Access Token
uses: peter-murray/workflow-application-token-action@8e1ba3bf1619726336414f1014e37f17fbadf1db # v2.1.0
with:
application_id: ${{ secrets.APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
permissions: 'contents:write, issues:write, pull_requests:write'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
token: ${{ steps.get-workflow-access-token.outputs.token }}
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
cache: yarn
node-version-file: package.json
- run: corepack enable
- run: yarn install --immutable
- run: yarn build
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: 'lts/*'
- run: corepack enable
- run: yarn install --immutable
- name: Semantic Release
run: yarn semantic-release --dry-run ${{ env.DRY_RUN }} --ci ${{ env.DRY_RUN != 'true' }}
env:
FORCE_COLOR: true
GIT_AUTHOR_EMAIL: '118100583+bfra-me[bot]@users.noreply.github.com'
GIT_AUTHOR_NAME: 'bfra.me'
GIT_COMMITTER_EMAIL: '118100583+bfra-me[bot]@users.noreply.github.com'
GIT_COMMITTER_NAME: 'bfra.me'
GITHUB_TOKEN: ${{ steps.get-workflow-access-token.outputs.token }}
- if: env.DRY_RUN != 'true'
run: 'git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v1'
env:
GITHUB_TOKEN: ${{ steps.get-workflow-access-token.outputs.token }}