Skip to content
Open
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
42 changes: 42 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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#v1.1.0:
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

- 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#v1.1.0:
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 .
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down