Update dependency monaco-editor to ^0.54.0 #3247
Workflow file for this run
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: Unit tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "*" | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-unit: | |
| name: unit tests on ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-22.04 | |
| arch: x64 | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version-file: .nvmrc | |
| package-manager-cache: false | |
| - name: Setup pnpm | |
| run: corepack enable | |
| - name: Get pnpm cache directory | |
| shell: bash | |
| run: echo "pnpm_cache_dir=$(pnpm store path)" >> ${GITHUB_ENV} | |
| - name: Use pnpm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.pnpm_cache_dir }} | |
| key: ${{ matrix.os }}-${{ matrix.arch }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ matrix.os }}-${{ matrix.arch }}-node- | |
| - name: Install pnpm dependencies | |
| id: install-pnpm | |
| run: timeout 300 pnpm install --color=always --prefer-offline --frozen-lockfile | |
| continue-on-error: true | |
| - name: Install pnpm dependencies (retry) | |
| if: steps.install-pnpm.outcome == 'failure' | |
| run: timeout 300 pnpm install --color=always --prefer-offline --frozen-lockfile | |
| - name: Build packages | |
| run: pnpm --color=always --stream build | |
| - name: Run test units | |
| run: pnpm --color=always --stream test:unit | |
| - name: Clean after tests | |
| run: pnpm --color=always --parallel clean | |
| - name: Check untracked files | |
| shell: bash | |
| run: for f in $(git ls-files --others --exclude-standard); do git diff --no-index --stat --exit-code /dev/null $f; | |
| done |