Skip to content

Merge pull request #7 from BofAI/feat/ci #35

Merge pull request #7 from BofAI/feat/ci

Merge pull request #7 from BofAI/feat/ci #35

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
- develop
- "feature/**"
pull_request:
branches:
- "**"
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm install
- name: Run linting
run: npm run lint
- name: Run tests
run: npm test
- name: Build TypeScript
run: npm run build