Skip to content

feat: remove memos (React Compiler) #28

feat: remove memos (React Compiler)

feat: remove memos (React Compiler) #28

Workflow file for this run

on:
push:
branches: ['main']
pull_request:
branches: ['main']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 25.0.0
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --no-fund
- name: Run linter
run: npm run lint
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 25.0.0
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --no-fund
- name: Run tests
run: npm test
format:
name: Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 25.0.0
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --no-fund
- name: Run format check
run: npm run format:check
build:
name: Build (gated)
runs-on: ubuntu-latest
needs: [lint, format, test]
if: github.event_name == 'pull_request'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 25.0.0
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --no-fund
- name: Build
run: npm run build:only