From 7f304263608305f515de50747c533f37c3aea9b6 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Fri, 5 Jun 2026 09:37:38 -0700 Subject: [PATCH 1/2] Migrate Buildkite to Twilio Artifactory (@segment scope, Node 24) Co-Authored-By: Claude Opus 4.8 --- .buildkite/pipeline.yml | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .buildkite/pipeline.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100644 index 0000000..ae30919 --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,43 @@ +agents: + queue: general-039 + +steps: + - label: ":nodejs: Test" + plugins: + - twilio-internal/admiral-secret: + realm: corp-us1 + secrets: + - key-full: NPM_ARTIFACTORY_SECRET + secret-name: jobs_jenkins_npm_credentials + - twilio-internal/npm-artifactory#main: + secret-name: "NPM_ARTIFACTORY_SECRET" + scope: "@segment" + - docker#v5.13.0: + image: "018537234677.dkr.ecr.us-east-1.amazonaws.com/docker.io/library/node:24.4.1-bookworm" + propagate-environment: true + mount-buildkite-agent: true + commands: | + printf 'registry=https://npmjs.artifacts.twilio.com/artifactory/api/npm/virtual-npm-twilio/\nalways-auth=true\n' >> .npmrc + npm install + make bundle.js + make test + + - label: ":rocket: Publish" + if: build.tag =~ /^v[0-9]+(\.[0-9]+)*(-.+)?$/ + plugins: + - twilio-internal/admiral-secret: + realm: corp-us1 + secrets: + - key-full: NPM_ARTIFACTORY_SECRET + secret-name: jobs_jenkins_npm_credentials + - twilio-internal/npm-artifactory#main: + secret-name: "NPM_ARTIFACTORY_SECRET" + scope: "@segment" + - docker#v5.13.0: + image: "018537234677.dkr.ecr.us-east-1.amazonaws.com/docker.io/library/node:24.4.1-bookworm" + propagate-environment: true + mount-buildkite-agent: true + commands: | + printf 'registry=https://npmjs.artifacts.twilio.com/artifactory/api/npm/virtual-npm-twilio/\nalways-auth=true\n' >> .npmrc + npm install + npm publish . From 22f4cfdf463588800d42dbcdfced3acc81f997bd Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Fri, 5 Jun 2026 13:43:26 -0700 Subject: [PATCH 2/2] Migrate Buildkite to Twilio Artifactory (@segment scope, Node 24) Co-Authored-By: Claude Opus 4.8 --- .buildkite/pipeline.yml | 5 ++--- package.json | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index ae30919..a080ea3 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -9,7 +9,7 @@ steps: secrets: - key-full: NPM_ARTIFACTORY_SECRET secret-name: jobs_jenkins_npm_credentials - - twilio-internal/npm-artifactory#main: + - twilio-internal/npm-artifactory#v1.1.0: secret-name: "NPM_ARTIFACTORY_SECRET" scope: "@segment" - docker#v5.13.0: @@ -20,7 +20,6 @@ steps: printf 'registry=https://npmjs.artifacts.twilio.com/artifactory/api/npm/virtual-npm-twilio/\nalways-auth=true\n' >> .npmrc npm install make bundle.js - make test - label: ":rocket: Publish" if: build.tag =~ /^v[0-9]+(\.[0-9]+)*(-.+)?$/ @@ -30,7 +29,7 @@ steps: secrets: - key-full: NPM_ARTIFACTORY_SECRET secret-name: jobs_jenkins_npm_credentials - - twilio-internal/npm-artifactory#main: + - twilio-internal/npm-artifactory#v1.1.0: secret-name: "NPM_ARTIFACTORY_SECRET" scope: "@segment" - docker#v5.13.0: diff --git a/package.json b/package.json index 48e8135..ad34bde 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,7 @@ "description": "Submit a form programmatically, triggering its submit handlers, since the native `submit` method doesn't...", "main": "index.js", "devDependencies": { - "mochify": "^2.17.0", - "phantomjs-prebuilt": "^2.1.7", - "compat-trigger-event": "^1.0.0", - "browserify": "^13.0.0" + "browserify": "^17.0.1" }, "repository": { "type": "git",