chore: update .env.example with PAPI license configuration #4
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: Check Code Quality | |
| on: | |
| pull_request: | |
| branches: [ main, develop ] | |
| push: | |
| branches: [ main, develop ] | |
| jobs: | |
| check-lint-and-build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Verify submodules | |
| run: | | |
| if [ ! -d "papi" ]; then | |
| echo "Error: papi submodule not found" | |
| exit 1 | |
| fi | |
| echo "Submodule papi verified" | |
| - name: Install Node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20.x | |
| - name: Cache node modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: Install packages | |
| run: npm ci | |
| - name: Check linting | |
| run: npm run lint:check | |
| - name: Generate Prisma client | |
| run: npm run db:generate | |
| - name: Check build | |
| run: npm run build |