commit 30762670862c25f0d1e6c37083f9b602840d6cb0 parent c12697c3ed764158eabdac16e4ac2c98f1b6bb88 Author: Demonstrandum <moi@knutsen.co> Date: Mon, 9 Mar 2020 03:16:51 +0000 Merge branch 'master' of github.com:Demonstrandum/Simp-O-Matic Diffstat:
A | .github/workflows/nodejs.yml | | | 30 | ++++++++++++++++++++++++++++++ |
1 file changed, 30 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml @@ -0,0 +1,30 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: yarn install + - run: npm build + env: + CI: true