Skip to content

fix: enhance healthchecks #37

fix: enhance healthchecks

fix: enhance healthchecks #37

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0 # Needed for standard-version to access tags
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test
- name: Bump version and generate changelog
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
yarn release
- name: Push release commit and tags
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PAT }}
branch: master
tags: true