Merge pull request #194 from Fury03/feat/172-secure-document-upload #214
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: | |
| branches: [main, dev] | |
| push: | |
| branches: [main, dev] | |
| jobs: | |
| lint-and-build: | |
| name: Lint and Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci || npm install --no-audit --no-fund | |
| - name: Run ESLint | |
| run: npm run lint | |
| - name: Run accessibility gate | |
| run: npm run a11y | |
| - name: Build application | |
| run: npm run build | |
| env: | |
| NEXT_PUBLIC_API_URL: https://api.example.com | |
| NEXT_PUBLIC_STELLAR_NETWORK: testnet |