From 5a3b596429dcff6a8fdd4036f61efea95360fb2c Mon Sep 17 00:00:00 2001 From: amanstep Date: Wed, 16 Sep 2026 18:02:59 +0530 Subject: [PATCH] ci: change script property to correct value --- .github/workflows/actions_release.yml | 4 ++-- .github/workflows/audit_package.yml | 4 ++-- .github/workflows/auto_cherry_pick.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/actions_release.yml b/.github/workflows/actions_release.yml index 3ae6c9b..f8b3baf 100644 --- a/.github/workflows/actions_release.yml +++ b/.github/workflows/actions_release.yml @@ -13,7 +13,7 @@ on: script: description: "Script to build/bundle the action" required: false - default: "ncc build lib/main.js -o dist --license license.txt --target es2024" + default: "npm run pack" permissions: contents: read @@ -29,4 +29,4 @@ jobs: with: tag: "${{ github.event.inputs.tag }}" node_version: ${{ inputs.node_version || '24' }} - script: ${{ inputs.script || 'ncc build lib/main.js -o dist --license license.txt --target es2024' }} + script: ${{ inputs.script || 'npm run pack' }} diff --git a/.github/workflows/audit_package.yml b/.github/workflows/audit_package.yml index 0019a8e..b4bb7b6 100644 --- a/.github/workflows/audit_package.yml +++ b/.github/workflows/audit_package.yml @@ -18,7 +18,7 @@ on: script: description: "Script to build/bundle the action" required: false - default: "ncc build lib/main.js -o dist --license license.txt --target es2024" + default: "npm run pack" schedule: - cron: "0 0 * * 1" @@ -29,7 +29,7 @@ jobs: force: ${{ inputs.force || false }} base_branch: ${{ inputs.base_branch || 'main' }} node_version: ${{ inputs.node_version || '24' }} - script: ${{ inputs.script || 'ncc build lib/main.js -o dist --license license.txt --target es2024' }} + script: ${{ inputs.script || 'npm run pack' }} permissions: contents: write diff --git a/.github/workflows/auto_cherry_pick.yml b/.github/workflows/auto_cherry_pick.yml index a66a57b..930bbed 100644 --- a/.github/workflows/auto_cherry_pick.yml +++ b/.github/workflows/auto_cherry_pick.yml @@ -23,7 +23,7 @@ on: script: description: "Script to build/bundle the action" required: false - default: "ncc build lib/main.js -o dist --license license.txt --target es2024" + default: "npm run pack" pull_request: types: [ opened, synchronize, labeled ] @@ -44,4 +44,4 @@ jobs: base_branch: ${{ inputs.base_branch || 'main' }} mode: ${{ github.event_name == 'pull_request' && 'verify' || inputs.mode || 'cherry-pick' }} node_version: ${{ inputs.node_version || '24' }} - script: ${{ inputs.script || 'ncc build lib/main.js -o dist --license license.txt --target es2024' }} + script: ${{ inputs.script || 'npm run pack' }}