Skip to content

Feature/conflation #301

Feature/conflation

Feature/conflation #301

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- dev
jobs:
build_test:
name: 🚴 Lint + Typecheck + Build 🚴
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Generate typings
run: pnpm generate:type
env:
APP_GRAPHQL_CODEGEN_ENDPOINT: './backend/schema.graphql'
- name: Lint CSS
run: pnpm lint:css
- name: Lint JS
run: pnpm lint:js
- name: Typecheck
run: pnpm typecheck
- name: Build
run: pnpm build
env:
APP_ENVIRONMENT: 'CI'
APP_GRAPHQL_API_DOMAIN: 'https://random-graphql-api-endpoint.com'
APP_REST_API_DOMAIN: 'https://random-graphql-api-endpoint.com'