Skip to content

Add web app serve

Add web app serve #28

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- dev
jobs:
build_test:
name: 🚴 Build + Lint + Test 🚴 # Match the name below (8398a7/action-slack).
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
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: Build
run: pnpm build
env:
APP_ENVIRONMENT: 'ci'
APP_SENTRY_DSN: 'https://[email protected]'
APP_GRAPHQL_CODEGEN_ENDPOINT: 'https://random-domain.com/graphql/'
APP_GRAPHQL_ENDPOINT: 'https://random-domain.com/graphql/'
APP_BACKEND_ENDPOINT: 'https://random-domain.com/'