Skip to content

Merge pull request #17 from anjerodev/dependabot/npm_and_yarn/types/n… #9

Merge pull request #17 from anjerodev/dependabot/npm_and_yarn/types/n…

Merge pull request #17 from anjerodev/dependabot/npm_and_yarn/types/n… #9

name: Build and Test commitollama
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run tests
run: xvfb-run -a npm test