Skip to content

chore(deps): update pnpm to v10.28.2 (#581) #6137

chore(deps): update pnpm to v10.28.2 (#581)

chore(deps): update pnpm to v10.28.2 (#581) #6137

Workflow file for this run

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 }}