pipeline updates #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/prepare | |
- name: Update lockfile | |
run: | | |
pnpm install --no-frozen-lockfile | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
git add pnpm-lock.yaml | |
git commit -m "chore: update pnpm-lock.yaml" || true | |
git push || true | |
- run: pnpm build | |
- name: List dist directory contents | |
run: ls -R apps/backend/dist | |
- run: node apps/backend/dist/server.js | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/prepare | |
- run: pnpm lint | |
lint_knip: | |
name: Lint Knip | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/prepare | |
- run: pnpm lint:knip | |
prettier: | |
name: Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/prepare | |
- run: pnpm format --list-different | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/prepare | |
- run: pnpm run test --coverage | |
- uses: codecov/codecov-action@v3 | |
type_check: | |
name: Type Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/prepare | |
- run: pnpm tsc --project apps/frontend/tsconfig.json | |
- run: pnpm tsc --project apps/backend/tsconfig.json | |
name: CI | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- main |