This PR kicks out Travis CI in favor of GitHub actions. It also adds an action to automatically publish the package to npm and GitHub packages on every new release.
Note: the publish action has not been tested and was copied from https://github.com/github/relative-time-element/blob/main/.github/workflows/publish.yml with the only difference that the scope: @github has been removed from the job to publish to GitHub packages. I don't have any experience with publishing to GitHub packages, so not sure if this is the correct change to make.
This PR kicks out Travis CI in favor of GitHub actions. It also adds an action to automatically publish the package to npm and GitHub packages on every new release.
Note: the publish action has not been tested and was copied from https://github.com/github/relative-time-element/blob/main/.github/workflows/publish.yml with the only difference that the
scope: @github
has been removed from the job to publish to GitHub packages. I don't have any experience with publishing to GitHub packages, so not sure if this is the correct change to make.Related: #118.