From 86f9d43de190c2fb9811c7ff470fccf972722c49 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Wed, 19 Nov 2025 10:51:51 -0500 Subject: [PATCH] Bundling ncc. --- .gitea/workflows/release.yml | 7 ++----- package.json | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index e3ed500..c8dbd66 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -25,11 +25,8 @@ jobs: - run: npm ci # 4️⃣ Bundle the action via ncc - - uses: vercel/ncc@v0.34.0 - with: - command: build - input: action.js - output: dist + - name: Bundle the action + run: npx @vercel/ncc build action.js -o dist # 5️⃣ Commit dist/ back to repo - uses: stefanzweifel/git-auto-commit-action@v5 diff --git a/package.json b/package.json index 92c98c1..4304e07 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "@semantic-release/release-notes-generator": "^10.0.3", "@types/jest": "^28.1.7", "@types/node": "^18.7.3", + "@vercel/ncc": "^0.36.1", "babel-jest": "^28.1.3", "chalk": "^4.1.2", "conventional-changelog-conventionalcommits": "^5.0.0",