Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-pr-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
- COMP-*
jobs:
create-pull-request:
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
continue-on-error: true
permissions:
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-pr-to-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main
jobs:
create-pull-request:
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
permissions:
pull-requests: write
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
contents: read
jobs:
check-types:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: warp-ubuntu-latest-arm64-4x
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dangerous-git-checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database-migrations-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
migrate:
name: Run Database Migrations
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database-migrations-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
migrate:
name: Run Database Migrations
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:

jobs:
deploy-results:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-arm64-4x

steps:
- name: Checkout
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
jobs:
e2e-tests:
name: E2E Tests - ${{ matrix.project }}
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
timeout-minutes: 20

strategy:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
bun-version: latest

- name: Cache dependencies
uses: actions/cache@v4
uses: WarpBuilds/cache@v1
with:
path: |
~/.bun/install/cache
Expand All @@ -75,7 +75,7 @@ jobs:
${{ runner.os }}-bun-

- name: Cache Next.js build
uses: actions/cache@v4
uses: WarpBuilds/cache@v1
with:
path: |
apps/app/.next/cache
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
echo "browser_versions=$BROWSER_VERSIONS" >> $GITHUB_OUTPUT

- name: Cache Playwright browsers
uses: actions/cache@v4
uses: WarpBuilds/cache@v1
id: playwright-cache
with:
path: |
Expand Down Expand Up @@ -436,7 +436,7 @@ jobs:
# Job to post consolidated test results
post-results:
name: Post Test Results to PR
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-arm64-4x
needs: e2e-tests
if: always() && github.event_name == 'pull_request'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-releases-to-discord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
github-releases-to-discord:
permissions:
contents: read
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-arm64-4x
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quick-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
quick-test:
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-arm64-4x
strategy:
matrix:
app: [app]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
release:
name: Release
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
bun-version: latest # Optional: specify a bun version

- name: Cache dependencies
uses: actions/cache@v4
uses: WarpBuilds/cache@v1
with:
path: |
~/.bun/install/cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
quick-checks:
name: Quick Checks
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
timeout-minutes: 5

steps:
Expand All @@ -29,7 +29,7 @@ jobs:
bun-version: latest

- name: Cache dependencies
uses: actions/cache@v4
uses: WarpBuilds/cache@v1
with:
path: |
~/.bun/install/cache
Expand All @@ -42,7 +42,7 @@ jobs:
${{ runner.os }}-bun-

- name: Cache Next.js build
uses: actions/cache@v4
uses: WarpBuilds/cache@v1
with:
path: |
apps/app/.next/cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-tasks-deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@
- main
jobs:
deploy:
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: '22.x' # Updated to match Node.js w/ Vercel
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Clear cache
run: rm -rf node_modules .bun
- name: Install dependencies
run: |
bun install
- name: Generate Prisma client
working-directory: ./packages/db
run: bunx prisma generate
- name: 🚀 Deploy Trigger.dev
working-directory: ./apps/app
env:
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
VERCEL_ACCESS_TOKEN: ${{ secrets.VERCEL_ACCESS_TOKEN }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }}
run: bunx trigger.dev@latest deploy --env staging

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
2 changes: 1 addition & 1 deletion .github/workflows/trigger-tasks-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@

jobs:
deploy:
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
steps:
- uses: actions/checkout@v4

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: bun install

- name: Generate Prisma client
working-directory: ./packages/db
run: bunx prisma generate

- name: 🚀 Deploy Trigger.dev
working-directory: ./apps/app
env:
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
VERCEL_ACCESS_TOKEN: ${{ secrets.VERCEL_ACCESS_TOKEN }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_TEAM_ID: ${{ secrets.VERCEL_TEAM_ID }}
run: bunx trigger.dev@latest deploy

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest-custom
runs-on: warp-ubuntu-latest-arm64-4x
timeout-minutes: 10

strategy:
Expand All @@ -43,7 +43,7 @@ jobs:
bun-version: latest

- name: Cache dependencies
uses: actions/cache@v4
uses: WarpBuilds/cache@v1
with:
path: |
~/.bun/install/cache
Expand Down
Loading