Skip to content

ci(github workflow): adding Semantic release #5

ci(github workflow): adding Semantic release

ci(github workflow): adding Semantic release #5

Workflow file for this run

name: Pull Request
on:
pull_request:
branches: [main, beta]
jobs:
build:
name: CI Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- uses: pnpm/action-setup@v4
with:
node-version: 20.x
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint:fix
- name: Test
run: pnpm test:coverage
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: coverage/cobertura-coverage.xml
badge: true
fail_below_min: true
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '60 80'
- name: Build
run: pnpm build
- name: Generate changelog
run: npx conventional-changelog -p angular -i CHANGELOG.md -s