diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-09-03 21:06:49 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-10-09 11:16:03 +0300 |
commit | 83afb697f3173faa4422bcc388c63aa6e6c00d74 (patch) | |
tree | 996d2f00ffda1dbd19e8a76bdac87b1e3486acf1 /.github | |
parent | b930a6d769748966ab298b8ad48f59f30c0f6f04 (diff) |
Update nodejs.yml
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/nodejs.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 000000000..521ece8df --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,26 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true |