Skip to content

Remove source maps from js/, rebuild with latest TS source #19

Remove source maps from js/, rebuild with latest TS source

Remove source maps from js/, rebuild with latest TS source #19

Workflow file for this run

name: HDS Lib JS CI
on:
pull_request:
branches:
- '*'
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [22.x, 24.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Run tests with coverage
run: npm run test:coverage:ci
- name: Upload coverage to Codecov
if: matrix.node-version == '24.x'
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: healthdatasafe/hds-lib-js
files: ./coverage/lcov.info
fail_ci_if_error: false