diff --git a/.github/workflows/build-binary-artifacts.yml b/.github/workflows/build-binary-artifacts.yml index 5d3d885..bbf65ba 100644 --- a/.github/workflows/build-binary-artifacts.yml +++ b/.github/workflows/build-binary-artifacts.yml @@ -16,6 +16,7 @@ on: push: branches: - main + - build-workflow-pr paths: - "lib/**" - "index.js" @@ -33,7 +34,7 @@ jobs: - name: Check out the repo uses: actions/checkout@v3 with: - ref: main + ref: build-workflow-pr fetch-depth: 0 - name: Import GPG Key diff --git a/build.sh b/build.sh index efcf3ec..93997cd 100755 --- a/build.sh +++ b/build.sh @@ -37,7 +37,7 @@ npm ci # Bundle printf "[BUILD_TASK] Bundling\n" -npx esbuild index.js --bunle --platform=node --outfile=bundle.js +npx esbuild index.js --bundle --platform=node --outfile=bundle.js check_exit_status "Bundling" 1 # version=$(git describe --tags | sed 's/\(.*\)-.*/\1/')