Skip to content

Update @types/node to version 22.10.2 (#291) #689

Update @types/node to version 22.10.2 (#291)

Update @types/node to version 22.10.2 (#291) #689

Workflow file for this run

name: Unit tests
on:
push:
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
schedule:
# Every Monday at midnight: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: "0 0 * * 1"
permissions:
contents: read
concurrency:
# Cancel old actions upon push
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Units tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run test
run: npm run test
- name: Upload to codecov.io
uses: codecov/codecov-action@v5
env:
fail_ci_if_error: true
verbose: true