Skip to content

42 architecture docs #152

42 architecture docs

42 architecture docs #152

Workflow file for this run

name: CI
on:
pull_request:
env:
node_version: 20.x
jobs:
style:
name: Lint and Format
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: Lint code
run: npm run lint
build_and_test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test