Skip to content

Merge branch 'test-pr' #18

Merge branch 'test-pr'

Merge branch 'test-pr' #18

Workflow file for this run

name: Test URL Endpoint Function
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js 14.x
uses: actions/setup-node@v4
with:
node-version: 14.x
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Run tests with coverage
run: npm run test:coverage
- name: Jest Coverage Comment
if: github.event_name == 'pull_request'
uses: MishaKav/jest-coverage-comment@main
with:
coverage-summary-path: ./coverage/coverage-summary.json
title: Test Coverage
badge-title: Coverage
hide-comment: false
create-new-comment: false
hide-summary: false