Skip to content

Revert "installing pnpm instead of relying on cache (#113)" (#114) #3

Revert "installing pnpm instead of relying on cache (#113)" (#114)

Revert "installing pnpm instead of relying on cache (#113)" (#114) #3

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
version:
name: Version packages
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Create Release PR or Publish
uses: changesets/action@v1
with:
version: pnpm version:packages
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}