Skip to content

Bump @mermaid-js/mermaid-cli from 10.9.1 to 11.4.0 #1084

Bump @mermaid-js/mermaid-cli from 10.9.1 to 11.4.0

Bump @mermaid-js/mermaid-cli from 10.9.1 to 11.4.0 #1084

Workflow file for this run

name: Checks
on:
pull_request:
branches:
- main
concurrency:
group: checks-${{ github.ref }}
cancel-in-progress: true
jobs:
changed:
runs-on: ubuntu-22.04
outputs:
frontend: ${{ steps.needs.outputs.frontend }}
backend: ${{ steps.needs.outputs.backend }}
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Paths Changes Filter
uses: dorny/paths-filter@v3.0.2
id: changes
with:
filters: |
frontend:
- 'apps/frontend/**/*'
- 'packages/eslint-config/**/*'
- 'packages/tsconfig-config/**/*'
- 'package.json'
backend:
- 'apps/backend/**/*'
- 'packages/eslint-config-custom/**/*'
- 'packages/tsconfig/**/*'
- 'package.json'
- name: Output Needs
id: needs
run: |
echo "frontend=${{ steps.changes.outputs.frontend == 'true' }}" >> $GITHUB_OUTPUT
echo "backend=${{ steps.changes.outputs.backend == 'true' }}" >> $GITHUB_OUTPUT
frontend:
runs-on: ubuntu-22.04
needs: changed
if: needs.changed.outputs.frontend == 'true'
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
- name: Setup Node.js environment
uses: actions/setup-node@v4.1.0
with:
node-version-file: 'package.json'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- name: Clean install using pnpm
shell: bash
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build --filter=frontend
backend:
runs-on: ubuntu-22.04
needs: changed
if: needs.changed.outputs.backend == 'true'
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
- name: Setup Node.js environment
uses: actions/setup-node@v4.1.0
with:
node-version-file: 'package.json'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- name: Clean install using pnpm
shell: bash
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build --filter=backend