Add web app serve #28
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/' |