猬嗭笍(deps): Bump browserslist from 4.28.2 to 4.28.9 in /apps/mewbo_console #202
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: Console CI | |
| on: | |
| pull_request: | |
| paths: | |
| - "apps/mewbo_console/**" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| # One run per PR; a new commit cancels the superseded run. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| working-directory: apps/mewbo_console | |
| jobs: | |
| lint: | |
| name: eslint + tsc | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: apps/mewbo_console/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: ESLint | |
| run: npm run lint:ci | |
| - name: TypeScript | |
| run: npm run typecheck | |
| test: | |
| name: Unit tests | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: apps/mewbo_console/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Unit tests | |
| run: npm run test:ci | |
| build: | |
| name: Build & upload artifact | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: apps/mewbo_console/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Upload build artifact | |
| if: github.server_url == 'https://github.com' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: console-dist | |
| path: apps/mewbo_console/dist | |
| retention-days: 7 |