Skip to content

Merge remote-tracking branch 'origin/main' #9

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #9

Workflow file for this run

name: Tests
on:
push:
paths-ignore:
- ".md"
branches:
- main
pull_request:
paths-ignore:
- "*.md"
branches:
- main
jobs:
main:
name: Build and run tests
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- run: pnpm build
- run: pnpm test:coverage
- name: Publish Results Badge
uses: wjervis7/[email protected]
if: success() || failure() # run whether steps succeed or not
with:
result-type: statements
upload-badge: false
- name: Commit badge
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: update code coverage badge'
file_pattern: './badge.svg'