Skip to content

FDC3 API Metadata

FDC3 API Metadata #917

Workflow file for this run

name: Node.js CI Tests and Coverage
# Controls when the workflow will run on any branch
on:
push:
branches:
- main
pull_request:
# Allows Coverage to be written back as a PR comment
permissions:
pull-requests: write
# Define the jobs for this workflow
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Run tests
run: npm run test
- name: Codecov
uses: codecov/codecov-action@v6
with:
use_oidc: true