chore(deps): update all non-major dependencies #4618
This file contains 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: | |
contents: write | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- alpha | |
- beta | |
- main | |
- renovate/** | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # fetch complete history for proper release detection | |
persist-credentials: false # to make `cycjimmy/semantic-release-action` work on protected branches | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
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 | |
uses: codecov/codecov-action@v4 | |
- name: π Release | |
id: semantic | |
uses: cycjimmy/semantic-release-action@b1b432f13acb7768e0c8efdec416d363a57546f2 # v4.1.1 | |
with: | |
extra_plugins: | | |
@semantic-release/changelog | |
@semantic-release/git | |
conventional-changelog-conventionalcommits | |
semantic_version: 24.0.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # required to be owned by a custom user to create releases & comments on protected branches | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: β¨ Beautify changelog | |
if: steps.semantic.outputs.new_release_published == 'true' | |
run: npx changelogithub | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |