Gather analytics on the usage of the application #217
Workflow file for this run
This file contains 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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
- name: '📩 npm install' | |
run: npm install | |
- name: '💅 Prepare' | |
run: | | |
cp .env.example .env | |
npm run db:generate | |
- name: '🔍 TypeScript type checking' | |
run: npm run typecheck | |
- name: '🧹 Linting' | |
run: npm run lint | |
- name: '🏗 Build' | |
run: npm run build |