Skip to content
Open
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
32 changes: 1 addition & 31 deletions .github/workflows/release-grades.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
41 changes: 1 addition & 40 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -96,7 +62,6 @@ jobs:
name: rpc
runs-on: ubuntu-24.04-arm
needs:
- check
- migrate
steps:
- name: Install local GitHub Actions
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading