Skip to content
Draft
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
42 changes: 42 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow will install Deno then run `deno lint` and `deno test`.
# For more information see: https://github.com/denoland/setup-deno

name: Deno

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v4

- name: Setup Deno
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
with:
deno-version: v1.x

# Uncomment this step to verify the use of 'deno fmt' on each commit.
# - name: Verify formatting
# run: deno fmt --check

- name: Run linter
run: deno lint

- name: Run tests
run: deno test -A
28 changes: 28 additions & 0 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NodeJS with Webpack

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node matrix ignores engine requirement

Medium Severity

The matrix runs Node 18.x, 20.x, and 22.x, while engines.node requires >=24 and every other workflow uses Node 24. Those legs test unsupported runtimes and can hit engine warnings or install and runtime failures from current dependencies.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 25a3ba1. Configure here.


steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Install uses wrong package manager

High Severity

npm install cannot reproduce this monorepo. The repo pins pnpm@10.33.3, uses pnpm-workspace.yaml, and only has pnpm-lock.yaml. npm skips workspace packages and resolves unlocked versions, so the tree does not match local or ci.yml installs.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 25a3ba1. Configure here.

npx webpack

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Webpack build step cannot succeed

High Severity

The job runs npx webpack, but this repo has no webpack or webpack-cli dependency, no webpack config, and no root bundle entry. Packages build with esbuild through pnpm build. The workflow fails on every push and PR and never checks the real build.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 25a3ba1. Configure here.