Skip to content

TT-16103: trigger release to suggested branch after merge #107

TT-16103: trigger release to suggested branch after merge

TT-16103: trigger release to suggested branch after merge #107

Workflow file for this run

name: CI Tests
on:
push:
branches:
- main
- 'release-*'
pull_request:
paths:
- 'branch-suggestion/**'
- '.github/workflows/ci-test.yml'
defaults:
run:
working-directory: branch-suggestion
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: branch-suggestion/package-lock.json
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run tests
run: npm test
- name: Generate coverage report
run: npm run test:coverage
- name: Upload coverage reports
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
if: always()
with:
files: ./branch-suggestion/coverage/coverage-final.json
flags: branch-suggestion