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.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ jobs:
version: 10.26.0
package_json_file: sdk-conformance/package.json

# 24, not 22: the SDK's devEngines pins Node ^24.11.0, and the suite runs on it too.
# The SDK's devEngines pins the exact Node version, and the suite runs on it too.
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
node-version-file: sdk/package.json

- name: Install SDK dependencies
working-directory: sdk
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/dry-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,18 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup Nix
uses: ./.github/actions/setup-nix
# Outside the nix shell: devEngines pins the exact Node version, and nixpkgs does not ship
# it yet, so `nix develop` would pack on an older Node that npm refuses (EBADDEVENGINES).
- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: package.json

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: 🚀 Dry Run Publish Package
run: nix develop --command pnpm dlx pkg-pr-new publish --pnpm
run: pnpm dlx pkg-pr-new publish --pnpm
15 changes: 10 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,22 @@ jobs:
with:
fetch-depth: 0

- name: Setup Nix
uses: ./.github/actions/setup-nix
# Outside the nix shell: devEngines pins the exact Node version, and nixpkgs does not ship
# it yet, so `nix develop` would pack on an older Node that npm refuses (EBADDEVENGINES).
- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- name: Setup Node.js for npm
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
registry-url: 'https://registry.npmjs.org'
node-version: lts/*
node-version-file: package.json

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: 📦 Pack package
run: nix develop --command pnpm pack
run: pnpm pack

- name: 🚀 Publish package
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"runtime": [
{
"name": "node",
"version": "^24.11.0",
"version": "24.22.1",
"onFail": "download"
}
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"runtime": [
{
"name": "node",
"version": "^24.11.0",
"version": "24.22.1",
"onFail": "download"
}
]
Expand Down
58 changes: 29 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading