Branch name
Required NETLIFY_SITE_ID
env variable
Required NETLIFY_AUTH_TOKEN
env variable
Required NPM_AUTH_TOKEN
env variable
Required BACKPACK_API_SECRET_TOKEN
env variable
Required BACKPACK_SITE_ID
env variable
Required CMS_CONTENT_TOKEN
env variable
Required CMS_MANAGEMENT_TOKEN
env variable
Required SHOPIFY_DOMAIN
env variable
Required SHOPIFY_ADMIN_API_TOKEN
env variable
Required SHOPIFY_STOREFRONT_API_TOKEN
env variable
Required SITE_URL
env variable
Direct staging deploys to call staging
Deploy production locked
uses: packdigital/backpack-build-action@main
with:
who-to-greet: 'Mona the Octocat'
Install the dependencies
npm update
Build the typescript and package it for distribution
npm run build && npm run package
Run the tests ✔️
npm test
PASS ./index.test.js
✓ throws invalid number (3ms)
✓ wait 500 ms (504ms)
✓ test runs (95ms)
...
See the toolkit documentation for the various packages.
You can now validate the action by referencing ./
in a workflow in your repo (see test.yml)
uses: ./
with:
milliseconds: 1000
See the actions tab for runs of this action! 🚀