-
Notifications
You must be signed in to change notification settings - Fork 897
ci: add CI/CD workflows and environment setup #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| ## 🧹 Preview Cleanup Complete | ||
|
|
||
| The following preview resources have been cleaned up: | ||
|
|
||
| <table> | ||
| <tr> | ||
| <th align="left">Service</th> | ||
| <th align="center">Status</th> | ||
| </tr> | ||
| <tr> | ||
| <td><img src="https://neon.com/favicon.ico" width="20" height="20"> <strong>Database (Neon)</strong></td> | ||
| <td align="center">$NEON_STATUS</td> | ||
| </tr> | ||
| </table> | ||
|
|
||
| Thank you for your contribution! 🎉 | ||
|
|
||
| --- | ||
| *Preview resources have been processed for cleanup* | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| ## 🚀 Preview Deployment | ||
|
|
||
| ### 🔗 Preview Links | ||
|
|
||
| <table> | ||
| <tr> | ||
| <th align="left">Service</th> | ||
| <th align="center">Status</th> | ||
| <th align="left">Link</th> | ||
| </tr> | ||
| <tr> | ||
| <td><img src="https://neon.com/favicon.ico" width="20" height="20"> <strong>Database (Neon)</strong></td> | ||
| <td align="center">$DATABASE_STATUS</td> | ||
| <td>$DATABASE_LINK</td> | ||
| </tr> | ||
| <tr> | ||
| <td><img src="https://vercel.com/favicon.ico" width="20" height="20"> <strong>API (Vercel)</strong></td> | ||
| <td align="center">$API_STATUS</td> | ||
| <td>$API_LINK</td> | ||
| </tr> | ||
| <tr> | ||
| <td><img src="https://vercel.com/favicon.ico" width="20" height="20"> <strong>Web (Vercel)</strong></td> | ||
| <td align="center">$WEB_STATUS</td> | ||
| <td>$WEB_LINK</td> | ||
| </tr> | ||
| <tr> | ||
| <td><img src="https://vercel.com/favicon.ico" width="20" height="20"> <strong>Marketing (Vercel)</strong></td> | ||
| <td align="center">$MARKETING_STATUS</td> | ||
| <td>$MARKETING_LINK</td> | ||
| </tr> | ||
| <tr> | ||
| <td><img src="https://vercel.com/favicon.ico" width="20" height="20"> <strong>Admin (Vercel)</strong></td> | ||
| <td align="center">$ADMIN_STATUS</td> | ||
| <td>$ADMIN_LINK</td> | ||
| </tr> | ||
| <tr> | ||
| <td><img src="https://vercel.com/favicon.ico" width="20" height="20"> <strong>Docs (Vercel)</strong></td> | ||
| <td align="center">$DOCS_STATUS</td> | ||
| <td>$DOCS_LINK</td> | ||
| </tr> | ||
| </table> | ||
|
Comment on lines
+5
to
+41
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add -<td><img src="https://neon.com/favicon.ico" width="20" height="20"> <strong>Database (Neon)</strong></td>
+<td><img alt="Neon" src="https://neon.com/favicon.ico" width="20" height="20"> <strong>Database (Neon)</strong></td>
-<td><img src="https://vercel.com/favicon.ico" width="20" height="20"> <strong>API (Vercel)</strong></td>
+<td><img alt="Vercel" src="https://vercel.com/favicon.ico" width="20" height="20"> <strong>API (Vercel)</strong></td>
...
-*Preview updates automatically with new commits*
+Preview updates automatically with new commits.Also applies to: 45-45 🧰 Tools🪛 markdownlint-cli2 (0.18.1)12-12: Images should have alternate text (alt text) (MD045, no-alt-text) 17-17: Images should have alternate text (alt text) (MD045, no-alt-text) 22-22: Images should have alternate text (alt text) (MD045, no-alt-text) 27-27: Images should have alternate text (alt text) (MD045, no-alt-text) 32-32: Images should have alternate text (alt text) (MD045, no-alt-text) 37-37: Images should have alternate text (alt text) (MD045, no-alt-text) 🤖 Prompt for AI Agents |
||
|
|
||
| --- | ||
|
|
||
| *Preview updates automatically with new commits* | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,107 +1,104 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| types: [opened, synchronize] | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Lint | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Check out code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: 1.3.3 | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} | ||
| path: ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }} | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install --frozen | ||
|
|
||
| - name: Run lint | ||
| - name: Lint | ||
| run: bun run lint | ||
|
|
||
| typecheck: | ||
| name: Typecheck | ||
| test: | ||
| name: Test | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Check out code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: 1.3.3 | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} | ||
| path: ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }} | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install --frozen | ||
|
|
||
| - name: Run typecheck | ||
| run: bun run typecheck | ||
| - name: Test | ||
| run: bun run test | ||
|
|
||
| build: | ||
| name: Build | ||
| typecheck: | ||
| name: Typecheck | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| # Placeholder values for build validation (not used at runtime) | ||
| DATABASE_URL: "postgresql://placeholder:placeholder@localhost:5432/placeholder" | ||
| DATABASE_URL_UNPOOLED: "postgresql://placeholder:placeholder@localhost:5432/placeholder" | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Check out code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: 1.3.3 | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} | ||
| path: ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }} | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install --frozen | ||
|
|
||
| - name: Run build | ||
| run: bun run build | ||
| - name: Typecheck | ||
| run: bun run typecheck | ||
|
|
||
| test: | ||
| name: Test | ||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Check out code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: 1.3.3 | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} | ||
| path: ~/.bun/install/cache | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }} | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install --frozen | ||
|
|
||
| - name: Run test | ||
| run: bun run test | ||
| - name: Build CLI and Desktop | ||
| run: bun turbo run build --filter=@superset/cli --filter=@superset/desktop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add
alttext to<img>and avoid MD036 emphasis-as-heading.Also applies to: 19-19
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
11-11: Images should have alternate text (alt text)
(MD045, no-alt-text)
🤖 Prompt for AI Agents