Skip to content

feat: add tests with workflow #5

feat: add tests with workflow

feat: add tests with workflow #5

Workflow file for this run

name: Format Check
on:
pull_request:
paths:
- 'functions/**'
- '.github/workflows/format-check.yml'
jobs:
format:
runs-on: ubuntu-latest
defaults:
run:
working-directory: functions
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: functions/package-lock.json
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check