function-plot icon indicating copy to clipboard operation
function-plot copied to clipboard

GitHub Actions automation for release and CI

Open leonhma opened this issue 3 years ago • 2 comments

This PR adds some niceness to the CI workflow, organizes the scripts in package.json to be more time efficient when running, and most importantly: It adds an entire release workflow!

The release workflow runs when a tag is created and uses the name of this tag as the package version (creating the release 1.30.3 publishes the new package under version 1.30.3). To use this, create a npm automation token and add it to the secrets as NPM_TOKEN. Everytime a new release is made, site.js, cp dist/function-plot.js site/js/function-plot.js and typedoc ... are run, and the site is deployed to the GitHub Pages branch.

leonhma avatar Aug 22 '22 19:08 leonhma

Okay thats a bit stupid to have the first 4 commits included. Should I just merge this into the other PR?

leonhma avatar Aug 23 '22 07:08 leonhma

Wrote some comments. What could be done is to add a source map (including the sources) in the prod output.

leonhma avatar Sep 19 '22 19:09 leonhma

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 20 '22 20:12 stale[bot]