Skip to content

chore: migrate from yarn to pnpm package manager #175

chore: migrate from yarn to pnpm package manager

chore: migrate from yarn to pnpm package manager #175

Workflow file for this run

name: Release
on:
push:
branches:
- main
- beta
- alpha
jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build package
run: pnpm build
- name: Run tests
run: pnpm test-ci
- name: Code coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: pnpm codecov
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm semantic-release