- Node 14.1.0 or higher, npm 6.14.6 or higher
npm install && npm update
npm run build
npm run dev
The last step runs a local web server on port 8888. Load the sample.html file at the root of the directory. Changes made to the code will be dynamically rebuilt.
- merge the
master
branch to theqa
branch and push to GitHub - GitHub Actions will execute the release.yml workflow to inject the build number,
install the
qa
branch of the alpheios-components library, build the distribution files, tag a pre-release in GitHub and publish the alpheios-embedded package to npm tagged as@qa
- merge the
qa
branch to theproduction
branch (but don't push it) - Edit version in the package.json.
- Commit and push the change to GitHub.
- GitHub Actions will execute the release.yml workflow to inject the build number,
install the
production
branch of the alpheios-components library, build the distribution files, tag a pre-release in GitHub and publish the alpheios-embedded package to npm tagged as@rc
- When ready to release the code, manually tag the npm package as
@latest
usingnpm --dist-tag
and remove the "Pre-release" flag from the Release in GitHub. - Merge the version and any other code changes from
production
back tomaster