Skip to content

[123] update dependencies for data serving service #144

[123] update dependencies for data serving service

[123] update dependencies for data serving service #144

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Data service Node.js CI
on:
push:
branches: [main]
paths:
- ".github/workflows/data-service-node.yml"
- "data-serving/data-service/**"
workflow_dispatch:
pull_request:
paths:
- ".github/workflows/data-service-node.yml"
- "data-serving/data-service/**"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "22.3.0"
- name: Build and test
run: |
npm ci
npm run build
npm test
working-directory: data-serving/data-service
env:
CI: true
- name: Upload test coverage
uses: codecov/codecov-action@v3
with:
file: data-serving/data-service/coverage/coverage-final.json