ci(deps): bump @hono/node-server from 1.19.14 to 1.19.17 #759
This file contains hidden or 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
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| CI: true | |
| NPM_CONFIG_IGNORE_SCRIPTS: "true" | |
| jobs: | |
| build_and_verify: | |
| name: Install, Lint, Test and Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7.0.0 | |
| - name: Setup pnpm with cache | |
| uses: ./.github/actions/setup-pnpm | |
| - name: Prepare Environment Variables | |
| run: | | |
| cp apps/strapi/.env.example apps/strapi/.env | |
| cp apps/ui/.env.local.example apps/ui/.env.local | |
| - name: Run linter | |
| run: pnpm lint | |
| - name: Check css/md formatting | |
| run: pnpm format:check | |
| - name: Run unit tests | |
| run: pnpm test:ci | |
| - name: Build UI | |
| run: | | |
| rm -rf apps/ui/.next | |
| pnpm build:ui | |
| # Only enable this if you plan to deploy a static export of the UI | |
| # - name: Build UI (output=export) | |
| # run: | | |
| # rm -rf .next | |
| # pnpm build:ui:static | |
| - name: Build Strapi | |
| run: pnpm build:strapi |