chore: update pr templates and issues #330
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: Build | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- name: ποΈ Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 # Shallow clone (only take latest commit) | |
- name: π¦ Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: π§Ή Lint Projects | |
run: pnpm i; pnpm nx run-many -t lint -p docs docs-e2e website website-e2e portal portal-e2e --verbose | |
- name: π Install Playwright Browsers | |
run: pnpm playwright install --with-deps | |
- name: π Build Docs | |
run: pnpm nx build docs --verbose | |
- name: π Build Website | |
run: pnpm nx build website --verbose | |
- name: π Build Portal | |
env: | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
AUTH_SECRET: ${{ secrets.AUTH_SECRET }} | |
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | |
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} | |
run: pnpm nx build portal --verbose | |
- name: π° Profit | |
run: echo π |