Reads metadata from a VTEX app. The action will parse the VTEX.yml file from your app and make parts of it available in environment variables.
You can consume the action by referencing one of the existing branches. Example:
uses: vtex/app-metadata-action@v1
Install the dependencies
yarn install
Run the tests ✔️
yarn run test
See the toolkit documentation for the various packages. This action is based in the JavaScript Action template.
Run prepare
npm run prepare
Since the packaged index.js is run from the dist folder.
git add dist
Checkin to the v1 release branch
git checkout -b v1
git commit -a -m "v1 release"
git push origin v1
See the versioning documentation