Skip to content

fix: STRF-11934 Separate Github PR Title check #867

fix: STRF-11934 Separate Github PR Title check

fix: STRF-11934 Separate Github PR Title check #867

name: Tests
on:
pull_request:
branches: [master, main, release-**]
jobs:
build:
strategy:
matrix:
node: [16.x, 18.x]
os: ['ubuntu-latest', 'windows-2019', 'macos-latest']
env:
TITLE: ${{ github.event.pull_request.title }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Lint the code
run: npm run lint
- name: Run tests
run: npm run test-with-coverage