Skip to content

chore: update package versions to v0.39.0-SNAPSHOT #6614

chore: update package versions to v0.39.0-SNAPSHOT

chore: update package versions to v0.39.0-SNAPSHOT #6614

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: Test Backend
on:
push:
branches:
- main
- release/**
pull_request:
branches:
- main
- release/**
workflow_dispatch:
defaults:
run:
shell: bash
env:
LC_ALL: C.UTF-8
permissions:
contents: read
concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Unit Tests | ${{ matrix.test-suite.name }}
runs-on: transaction-tools-linux-medium
strategy:
fail-fast: false
matrix:
test-suite:
- name: API
command: api
- name: Chain
command: chain
- name: Notifications
command: notifications
steps:
- name: Harden Runner
uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install pnpm
uses: step-security/action-setup@c9d80a280aaf584da8c913342a763a6de6452c7a # v6.0.10
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
node-version-file: package.json
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run unit tests
run: pnpm --filter ${{ matrix.test-suite.command }} test:cov
working-directory: back-end
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}