From 2a9a7b6e4a0253be4e19b158123d34fe8c8c206c Mon Sep 17 00:00:00 2001 From: brage-andreas Date: Tue, 19 May 2026 20:40:15 +0200 Subject: [PATCH 1/2] chore: remove deploy dependance on lint and type check --- .github/workflows/release-grades.yml | 16 ++++------------ .github/workflows/release.yml | 18 ++++-------------- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release-grades.yml b/.github/workflows/release-grades.yml index b2062ea26f..c8dc2e3b7c 100644 --- a/.github/workflows/release-grades.yml +++ b/.github/workflows/release-grades.yml @@ -20,8 +20,7 @@ permissions: contents: read jobs: - # The "check" job is responsible for verifying the minimum requirements to - # build all the packages in the monorepo. + # The "check" job is responsible for verifying the minimum requirements to build all the packages in the monorepo. check: name: Verify build requirements runs-on: ubuntu-24.04-arm @@ -38,16 +37,14 @@ jobs: cache: 'pnpm' - run: pnpm install --frozen-lockfile name: Install dependencies from pnpm lockfile - - run: pnpm lint-check + - run: pnpm run lint-check name: Run linting and formatting checks - - run: pnpm type-check + - run: pnpm run type-check name: Run TypeScript type checker migrate-grades: name: Run grades database migrations runs-on: ubuntu-24.04-arm - needs: - - check steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: @@ -65,14 +62,13 @@ jobs: with: project: grades-backend config: prd - - run: pnpm migrate:deploy-grades + - run: pnpm run migrate:deploy-grades name: Apply Prisma migrations against prod build-grades-backend: name: grades-backend runs-on: ubuntu-24.04-arm needs: - - check - migrate-grades steps: - name: Install local GitHub Actions @@ -90,8 +86,6 @@ jobs: build-grades-frontend: name: grades-frontend runs-on: ubuntu-24.04-arm - needs: - - check steps: - name: Install local GitHub Actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 @@ -108,8 +102,6 @@ jobs: notify: name: Notify users about trigger runs-on: ubuntu-24.04 - needs: - - check steps: - name: Submit message to \#prod-ops-feed in Slack uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7da6a527c6..9deae28d38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,7 @@ permissions: id-token: write contents: read jobs: - # The "check" job is responsible for verifying the minimum requirements to - # build all the packages in the monorepo. + # The "check" job is responsible for verifying the minimum requirements to build all the packages in the monorepo. check: name: Verify build requirements runs-on: ubuntu-24.04-arm @@ -44,16 +43,14 @@ jobs: restore-keys: tsbuildinfo- - run: pnpm install --frozen-lockfile name: Install dependencies from pnpm lockfile - - run: pnpm lint-check + - run: pnpm run lint-check name: Run linting and formatting checks - - run: pnpm type-check + - run: pnpm run type-check name: Run TypeScript type checker migrate: name: Run database migrations runs-on: ubuntu-24.04-arm - needs: - - check steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: @@ -71,14 +68,12 @@ jobs: with: project: monoweb-rpc config: prd - - run: pnpm migrate:deploy + - run: pnpm run migrate:deploy name: Apply Prisma migrations against prod build-dashboard: name: dashboard runs-on: ubuntu-24.04-arm - needs: - - check steps: - name: Install local GitHub Actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 @@ -96,7 +91,6 @@ jobs: name: rpc runs-on: ubuntu-24.04-arm needs: - - check - migrate steps: - name: Install local GitHub Actions @@ -114,8 +108,6 @@ jobs: build-web: name: web runs-on: ubuntu-24.04-arm - needs: - - check steps: - name: Install local GitHub Actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 @@ -132,8 +124,6 @@ jobs: notify: name: Notify users about trigger runs-on: ubuntu-24.04 - needs: - - check steps: - name: Submit message to \#prod-ops-feed in Slack uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 From 62e28bbe67968f5a4de58bd83e2e7342cb317f25 Mon Sep 17 00:00:00 2001 From: brage-andreas Date: Thu, 21 May 2026 19:50:11 +0200 Subject: [PATCH 2/2] chore: remove lint --- .github/workflows/release-grades.yml | 22 --------------------- .github/workflows/release.yml | 29 ---------------------------- 2 files changed, 51 deletions(-) diff --git a/.github/workflows/release-grades.yml b/.github/workflows/release-grades.yml index c8dc2e3b7c..5095b49e2f 100644 --- a/.github/workflows/release-grades.yml +++ b/.github/workflows/release-grades.yml @@ -20,28 +20,6 @@ permissions: contents: read jobs: - # The "check" job is responsible for verifying the minimum requirements to build all the packages in the monorepo. - check: - name: Verify build requirements - runs-on: ubuntu-24.04-arm - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 1 - - uses: pnpm/action-setup@v2 - with: - version: 10.28.2 - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 - with: - node-version: 22.21.1 - cache: 'pnpm' - - run: pnpm install --frozen-lockfile - name: Install dependencies from pnpm lockfile - - run: pnpm run lint-check - name: Run linting and formatting checks - - run: pnpm run type-check - name: Run TypeScript type checker - migrate-grades: name: Run grades database migrations runs-on: ubuntu-24.04-arm diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9deae28d38..dd3fb9e2c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,35 +19,6 @@ permissions: id-token: write contents: read jobs: - # The "check" job is responsible for verifying the minimum requirements to build all the packages in the monorepo. - check: - name: Verify build requirements - runs-on: ubuntu-24.04-arm - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - with: - fetch-depth: 1 - - uses: pnpm/action-setup@v2 - with: - version: 10.28.2 - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 - with: - node-version: 22.21.1 - cache: 'pnpm' - - uses: actions/cache@v4 - with: - path: | - packages/db/tsconfig.tsbuildinfo - packages/grades-db/tsconfig.tsbuildinfo - key: tsbuildinfo-${{ hashFiles('packages/db/src/**', 'packages/db/generated/**', 'packages/grades-db/src/**', 'packages/grades-db/generated/**') }} - restore-keys: tsbuildinfo- - - run: pnpm install --frozen-lockfile - name: Install dependencies from pnpm lockfile - - run: pnpm run lint-check - name: Run linting and formatting checks - - run: pnpm run type-check - name: Run TypeScript type checker - migrate: name: Run database migrations runs-on: ubuntu-24.04-arm