Skip to content

ci/cd: gains GH action to automate checks and tests #1

ci/cd: gains GH action to automate checks and tests

ci/cd: gains GH action to automate checks and tests #1

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.18.2]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run Unit Tests
run: npm run test:unit
- name: Run Integration Tests
run: npm run test:integration
- name: Lint Codebase
run: npm run lint
- name: Check Types
run: npm run check