Skip to content

ci: Add pnpm versions #2

ci: Add pnpm versions

ci: Add pnpm versions #2

Workflow file for this run

name: Release
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
- run: pnpm install
- name: Build
run: pnpm build build
- name: Publish to pkg.pr.new
run: pnpm dlx pkg-pr-new publish --compact