Skip to content

Pro2 53 merge upstream stelescuraul rls into master node update #3

Pro2 53 merge upstream stelescuraul rls into master node update

Pro2 53 merge upstream stelescuraul rls into master node update #3

name: Build And Test
on:
pull_request:
branches: [master]
workflow_dispatch:
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Check commit messages
run: npx commitlint --from origin/master
- name: Check linting
run: npm run lint
- name: Build the project
run: npm run build --if-present
- name: Run the tests
run: npm run test