update axios dependency and update tests #489
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# | |
# Copyright (C) 2024 CERN. | |
# Copyright (C) 2025 KTH Royal Institute of Technology. | |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
- maint-* | |
pull_request: | |
branches: | |
- master | |
- maint-* | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 2 * * 5' | |
workflow_dispatch: | |
inputs: | |
reason: | |
description: 'Reason' | |
required: false | |
default: 'Manual trigger' | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x, 18.x, 16.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install & Build | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm test | |
- name: Coverage | |
run: npm test -- --coverage |