diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000000..463cdd94d6 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,22 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true diff --git a/README.md b/README.md index f2251e0ca6..8561f7138f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Coverage Status](https://coveralls.io/repos/github/iTowns/itowns/badge.svg?branch=master)](https://coveralls.io/github/iTowns/itowns?branch=master) [![Build Status](https://travis-ci.com/iTowns/itowns.svg?branch=master)](https://travis-ci.com/iTowns/itowns) +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fzarov%2Fitowns.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fzarov%2Fitowns?ref=badge_shield) ## What is it? @@ -80,6 +81,9 @@ Incorporated libraries are published under their original licences. See [LICENSE.md](LICENSE.md) for more information. + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fzarov%2Fitowns.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fzarov%2Fitowns?ref=badge_large) + ## Support iTowns is an original work from French IGN, [MATIS research @@ -94,4 +98,4 @@ here](CONTRIBUTORS.md). [![IGN](https://raw.githubusercontent.com/iTowns/itowns.github.io/master/images/logo_ign.png)](https://www.ign.fr) [![AtolCD](https://raw.githubusercontent.com/iTowns/itowns.github.io/master/images/logo_atolcd.jpg)](https://www.atolcd.com) -[![Oslandia](https://raw.githubusercontent.com/iTowns/itowns.github.io/master/images/logo_oslandia.png)](https://www.oslandia.com) +[![Oslandia](https://raw.githubusercontent.com/iTowns/itowns.github.io/master/images/logo_oslandia.png)](https://www.oslandia.com) \ No newline at end of file