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
2 changes: 2 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ jobs:
with:
fail-on-severity: high
deny-licenses: GPL-2.0, GPL-3.0, AGPL-1.0, AGPL-3.0
# These existing packages publish missing/non-canonical SPDX metadata; keep the license gate enabled for all other dependencies.
allow-dependencies-licenses: "pkg:npm/@pierre/diffs, pkg:npm/@openauthjs/openauth, pkg:npm/opencontrol"
comment-summary-in-pr: always
23 changes: 19 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ jobs:
docker run --rm \
-v "$PWD:/src" \
ghcr.io/google/osv-scanner:v2.3.8@sha256:64e86bec6df2466feea5137fc7c78fb3b7c21ec077f014d7130f64810e50676b \
scan --config /src/.github/osv-release.toml --lockfile /src/src/mendcode/bun.lock
scan --config /src/.github/osv-release.toml --lockfile /src/src/mendcode/pnpm-lock.yaml

- name: Setup pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1
with:
version: 11.0.9

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
Expand All @@ -91,7 +96,7 @@ jobs:
shell: bash
run: |
set -euo pipefail
bun install --frozen-lockfile --ignore-scripts --os="*" --cpu="*"
pnpm --pm-on-fail=ignore install --frozen-lockfile --ignore-scripts
bun run --cwd packages/opencode fix-node-pty

- name: Build release assets
Expand Down Expand Up @@ -142,6 +147,11 @@ jobs:
fetch-depth: 0
persist-credentials: false

- name: Setup pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1
with:
version: 11.0.9

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
Expand All @@ -151,7 +161,7 @@ jobs:
working-directory: src/mendcode
shell: pwsh
run: |
bun install --frozen-lockfile --ignore-scripts --os="*" --cpu="*"
pnpm --pm-on-fail=ignore install --frozen-lockfile --ignore-scripts
bun run --cwd packages/opencode fix-node-pty

- name: Build native Windows release assets
Expand Down Expand Up @@ -219,6 +229,11 @@ jobs:
fetch-depth: 0
persist-credentials: false

- name: Setup pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1
with:
version: 11.0.9

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
Expand All @@ -229,7 +244,7 @@ jobs:
shell: bash
run: |
set -euo pipefail
bun install --frozen-lockfile --ignore-scripts --os="*" --cpu="*"
pnpm --pm-on-fail=ignore install --frozen-lockfile --ignore-scripts
bun run --cwd packages/opencode fix-node-pty

- name: Build native Darwin release asset
Expand Down
2 changes: 2 additions & 0 deletions src/mendcode/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minimum-release-age=10080
save-exact=true
3 changes: 2 additions & 1 deletion src/mendcode/bun.lock

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

1 change: 1 addition & 0 deletions src/mendcode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
"undici": "8.9.0",
"uuid": "13.0.1",
"tar": "7.5.21",
"toml": "4.2.0",
"valibot": "1.4.2",
"ws": "8.21.0"
},
Expand Down
Loading
Loading