Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: '.tool-versions'

- name: Spectral lint the OpenAPI contract
run: pnpm dlx @stoplight/spectral-cli@6 lint packages/embed/openapi/embed.openapi.yaml --ruleset packages/embed/openapi/.spectral.yaml
Expand All @@ -34,7 +34,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: '.tool-versions'
cache: pnpm

- run: pnpm install --frozen-lockfile
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,9 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: '.tool-versions'
cache: pnpm
Comment on lines 26 to 29

# Trusted publishing + `--provenance` require npm >= 11.5.
# setup-node ships npm 10.x, so upgrade explicitly.
- name: Upgrade npm
run: npm install -g npm@latest

- run: pnpm install --frozen-lockfile

- run: pnpm run build
Expand Down
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodejs 24.19.0
pnpm 11.20.0
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"bugs": {
"url": "https://github.com/monad-inc/embed/issues"
},
"packageManager": "pnpm@9.15.0",
"packageManager": "pnpm@11.20.0",
"engines": {
"node": ">=20",
"pnpm": ">=9"
"node": ">=24.19.0 <25",
"pnpm": ">=11"
},
"scripts": {
"build": "pnpm -r run build",
Expand Down
5 changes: 5 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
packages:
- 'packages/*'
# pnpm 10+ blocks dependency lifecycle scripts by default; allowBuilds is the
# pnpm 11 replacement for onlyBuiltDependencies. esbuild (used by tsup) is
# non-functional without its install script.
allowBuilds:
esbuild: true
Loading