chore(deps): update pnpm to v10.28.2 (#581) #6137
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 | |
| permissions: {} | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - alpha | |
| - beta | |
| - main | |
| jobs: | |
| ci: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| permissions: | |
| contents: write | |
| id-token: write | |
| steps: | |
| - name: Checkout git repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # fetch complete history for proper release detection | |
| persist-credentials: false # to make `cycjimmy/semantic-release-action` work on protected branches | |
| - name: Setup package manager | |
| run: | | |
| npm install -g corepack@latest | |
| corepack enable | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: latest | |
| cache: pnpm | |
| - name: π¦ Install dependencies | |
| run: pnpm install | |
| - name: Install Playwright | |
| # does not need to explicitly set chromium after https://github.com/microsoft/playwright/issues/14862 is solved | |
| run: pnpm playwright install chromium | |
| - name: π§ Set up project | |
| run: pnpm dev:prepare | |
| - name: π§ Prepare playground | |
| # prepare the playground for tests | |
| run: pnpm playground:prepare | |
| - name: π Lint project | |
| run: pnpm run lint | |
| - name: π§ͺ Test project | |
| run: pnpm test | |
| - name: π Build project | |
| run: pnpm build | |
| - name: πͺ Test types | |
| run: pnpm test:types | |
| - name: π© Coverage | |
| if: matrix.os != 'windows-latest' | |
| uses: codecov/codecov-action@v5 | |
| - name: π Release | |
| id: semantic | |
| uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0 | |
| with: | |
| extra_plugins: | | |
| @semantic-release/changelog | |
| @semantic-release/git | |
| conventional-changelog-conventionalcommits | |
| semantic_version: 25.0.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # required to be owned by a custom user to create releases & comments on protected branches | |
| - name: β¨ Beautify changelog | |
| if: steps.semantic.outputs.new_release_published == 'true' | |
| run: npx changelogithub | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |