Skip to content

chore(ci): add a basic ci workflow #1

chore(ci): add a basic ci workflow

chore(ci): add a basic ci workflow #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: 'package.json'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run Format Check
run: prettier.dry-run
- name: Build project
run: npm run build
- name: Run Tests
run: npm test -- --no-watch