diff --git a/.github/workflows/release-grades.yml b/.github/workflows/release-grades.yml index b2062ea26f..5095b49e2f 100644 --- a/.github/workflows/release-grades.yml +++ b/.github/workflows/release-grades.yml @@ -20,34 +20,9 @@ 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 lint-check - name: Run linting and formatting checks - - run: pnpm 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 +40,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 +64,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 +80,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..dd3fb9e2c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,41 +19,9 @@ 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 lint-check - name: Run linting and formatting checks - - run: pnpm 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 +39,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 +62,6 @@ jobs: name: rpc runs-on: ubuntu-24.04-arm needs: - - check - migrate steps: - name: Install local GitHub Actions @@ -114,8 +79,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 +95,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