deepstreamIO / deepstream.io-client-js

The Browser / Node.js Client for deepstream.io
Other
294 stars 109 forks source link

task: github actions CI #555

Closed jaime-ez closed 3 years ago

jaime-ez commented 3 years ago

@yasserf made a first attempt to use github actions as CI.

On every push and pull request it runs the job build: lint, test:coverage and build using node 10, 12 and 14. On every tag pushed, it runs 2 jobs: build and and then release. I haven't been able to test the release job properly since it requires the NPM token.

hope you can check it out and test using the token, check this guide: https://docs.github.com/es/free-pro-team@latest/actions/guides/publishing-nodejs-packages

Cheers

jaime-ez commented 3 years ago

the travis after script don't know when to run it and what it does...

yasserf commented 3 years ago

Added you as a member 👍

Please don't try changing the npm token on the server build, its a lot more complex

The after script (coveralls) is a code coverage tool, usually a lot of documentation for it (never used github actions yet so can't really help sorry!)

https://github.com/marketplace/actions/coveralls-github-action