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
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,25 @@ jobs:
run: node --run lint
- name: Test
run: node --run test

build-up-to-date:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Use Node v24.x
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24.x
- name: Install Dependencies
run: npm ci
- name: Build
run: node --run build
- name: Check build output is up to date
run: |
if [ -n "$(git status --porcelain build)" ]; then
echo "::error::build/ is out of date. Run 'npm run build' and commit the result."
git status --porcelain build
git diff --stat build
exit 1
fi
14 changes: 9 additions & 5 deletions build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24277,9 +24277,12 @@ function getTrustStatus(meta) {
}
function getTrustLevel(status) {
if (status.stagedPublish) {
return 3;
return 4;
}
if (status.trustedPublisher && status.provenance) {
return 3;
}
if (status.trustedPublisher) {
return 2;
}
if (status.provenance) {
Expand All @@ -24291,7 +24294,8 @@ var trustLevelNames = {
0: "none",
1: "provenance",
2: "trustedPublisher",
3: "stagedPublish"
3: "trustedPublisherWithProvenance",
4: "stagedPublish"
};
function getTrustLevelName(status) {
const level = getTrustLevel(status);
Expand Down Expand Up @@ -24559,9 +24563,9 @@ function comparePackSizes(basePacks, sourcePacks, threshold) {
}

// node_modules/module-replacements/dist/main.js
import nativeRaw from "./native-7HWYIGGW.json" with { type: "json" };
import microUtilsRaw from "./micro-utilities-PCCWHRB5.json" with { type: "json" };
import preferredRaw from "./preferred-UHEGOVP6.json" with { type: "json" };
import nativeRaw from "./native-YITS6F5J.json" with { type: "json" };
import microUtilsRaw from "./micro-utilities-4653YRA3.json" with { type: "json" };
import preferredRaw from "./preferred-SDDUH75S.json" with { type: "json" };

// node_modules/module-replacements/dist/util.js
function resolveDocUrl(url) {
Expand Down
Loading
Loading