Add root .gitignore to exclude .vscode/ #5
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: [main] | |
| jobs: | |
| web: | |
| name: Web | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: web | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v3 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| cache-dependency-path: web/pnpm-lock.yaml | |
| - run: pnpm install | |
| - run: pnpm lint | |
| - run: pnpm format:check | |
| - run: pnpm exec tsc --noEmit | |
| - run: pnpm build | |
| cms: | |
| name: CMS | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: cms | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v3 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| cache-dependency-path: cms/pnpm-lock.yaml | |
| - run: pnpm install | |
| - run: pnpm lint | |
| - run: pnpm exec tsc --noEmit | |
| - run: pnpm build | |
| env: | |
| PAYLOAD_SECRET: ${{ secrets.PAYLOAD_SECRET }} | |
| DATABASE_URL: ${{ secrets.DATABASE_URL }} |