Skip to content

fix: include package-lock.json for stable builds #95

fix: include package-lock.json for stable builds

fix: include package-lock.json for stable builds #95

Workflow file for this run

name: GreenProof CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Lint check
run: npm run lint -w apps/greenproof || echo "Skipping lint for now"
- name: Type check (App)
run: npm run typecheck -w apps/greenproof || npx tsc --project apps/greenproof/tsconfig.json --noEmit
- name: Build check (App)
run: npm run build -w apps/greenproof
- name: Run Unit Tests
run: npm test
- name: Run E2E Tests (App)
run: npm run test:e2e -w apps/greenproof || echo "No E2E tests in app"
env:
CI: true